Marge branch 'master' into lvgl_7.11.0_idf_5.0

This commit is contained in:
Luc Appelman 2023-05-17 10:17:09 +02:00
commit a73c429954
62 changed files with 2427 additions and 1270 deletions

View file

@ -94,7 +94,9 @@ void sh1107_init(void)
//Initialize non-SPI GPIOs
gpio_reset_pin(SH1107_DC);
gpio_set_direction(SH1107_DC, GPIO_MODE_OUTPUT);
gpio_reset_pin(SH1107_RST);
#if SH1107_USE_RST
gpio_reset_pin(SH1107_RST);
gpio_set_direction(SH1107_RST, GPIO_MODE_OUTPUT);
//Reset the display
@ -102,6 +104,7 @@ void sh1107_init(void)
vTaskDelay(100 / portTICK_PERIOD_MS);
gpio_set_level(SH1107_RST, 1);
vTaskDelay(100 / portTICK_PERIOD_MS);
#endif
//Send all the commands
uint16_t cmd = 0;