mirror of
https://github.com/nopnop2002/esp-idf-ssd1306.git
synced 2024-10-03 18:18:47 -04:00
Flip upside down enabled
This commit is contained in:
parent
c40aa646aa
commit
8b00a7e705
@ -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.
|
||||||
|
@ -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");
|
||||||
|
Loading…
Reference in New Issue
Block a user