Update display initialization comments for clarity and accuracy
This commit is contained in:
@@ -14,8 +14,8 @@ esphome:
|
|||||||
- priority: -100
|
- priority: -100
|
||||||
then:
|
then:
|
||||||
- lambda: |-
|
- lambda: |-
|
||||||
// Send MADCTL 0x48: MY=0, MX=1, BGR=1 — correct portrait for this board
|
// MADCTL 0x48: MY=0, MX=1, BGR=1 — correct portrait, no mirror for ESP32-2432S035R
|
||||||
// Uses ESP-IDF SPI master API to bypass ESPHome's buffered display layer
|
// ESP-IDF SPI master API used to bypass ESPHome's buffered display layer
|
||||||
spi_device_handle_t disp_fix;
|
spi_device_handle_t disp_fix;
|
||||||
spi_device_interface_config_t cfg = {};
|
spi_device_interface_config_t cfg = {};
|
||||||
cfg.clock_speed_hz = 1000000;
|
cfg.clock_speed_hz = 1000000;
|
||||||
|
|||||||
Reference in New Issue
Block a user