Flip upside down enabled

This commit is contained in:
nopnop2002 2024-09-16 19:13:30 +09:00
parent c40aa646aa
commit 8b00a7e705
2 changed files with 0 additions and 4 deletions

View File

@ -14,8 +14,6 @@ __Wire cables should be as short as possible.__
I used a 10 cm wire cable. I used a 10 cm wire cable.
However, it is sometimes affected by noise. However, it is sometimes affected by noise.
__Flip upside down cannot be enabled.__
__This demo does not support 128x32 panels.__ __This demo does not support 128x32 panels.__
The SPI interface operates faster than the I2C interface. The SPI interface operates faster than the I2C interface.

View File

@ -631,12 +631,10 @@ void app_main(void)
spi_master_init(&dev, CONFIG_MOSI_GPIO, CONFIG_SCLK_GPIO, CONFIG_CS_GPIO, CONFIG_DC_GPIO, CONFIG_RESET_GPIO); spi_master_init(&dev, CONFIG_MOSI_GPIO, CONFIG_SCLK_GPIO, CONFIG_CS_GPIO, CONFIG_DC_GPIO, CONFIG_RESET_GPIO);
#endif // CONFIG_SPI_INTERFACE #endif // CONFIG_SPI_INTERFACE
#if 0
#if CONFIG_FLIP #if CONFIG_FLIP
dev._flip = true; dev._flip = true;
ESP_LOGW(TAG, "Flip upside down"); ESP_LOGW(TAG, "Flip upside down");
#endif #endif
#endif
#if CONFIG_SSD1306_128x64 #if CONFIG_SSD1306_128x64
ESP_LOGI(TAG, "Panel is 128x64"); ESP_LOGI(TAG, "Panel is 128x64");