allowing backlight change
This commit is contained in:
parent
59eb35da30
commit
7bba79363a
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue