allowing backlight change

This commit is contained in:
siddacious 2020-03-19 13:42:12 -07:00
parent 59eb35da30
commit 7bba79363a
1 changed files with 5 additions and 3 deletions

View File

@ -81,14 +81,16 @@ void board_init(void) {
0x37, // set vertical scroll command
display_init_sequence,
sizeof(display_init_sequence),
NULL, // backlight pin
//NULL, // backlight pin
&pin_P0_02, // backlight pin
NO_BRIGHTNESS_COMMAND,
1.0f, // brightness (ignored)
true, // auto_brightness
0.0f, // brightness (ignored)
false, // auto_brightness
false, // single_byte_bounds
false, // data_as_commands
true, // auto_refresh
60); // native_frames_per_second
}
bool board_requests_safe_mode(void) {