update
This commit is contained in:
@@ -135,7 +135,9 @@ void st7789_init(void) {
|
||||
st7789_write_cmd(0x21); // INVERT ON (fixes many panels)
|
||||
|
||||
st7789_write_cmd(0x29); // DISPON
|
||||
vTaskDelay(pdMS_TO_TICKS(20));
|
||||
st7789_fill(0x0000);
|
||||
st7789_flush_full();
|
||||
gpio_set_level(LCD_BACKLIGHT_AND_RGB_POWER, 1);
|
||||
}
|
||||
|
||||
/*rendering*/
|
||||
|
||||
Reference in New Issue
Block a user