allowing backlight change

This commit is contained in:
siddacious 2020-03-19 13:42:12 -07:00
parent 59eb35da30
commit 7bba79363a

View File

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