Fix horizontal mirroring for ILI9488 display and update display configuration

This commit is contained in:
Joshua King
2026-03-06 15:28:43 -05:00
parent cced711c68
commit 812c3fd820

View File

@@ -10,6 +10,10 @@ esphome:
then:
- light.turn_on: backlight
- delay: 300ms
- lambda: |-
// Fix ILI9488 horizontal mirror: send MADCTL with MX=1, BGR=1
id(my_display)->command(0x36);
id(my_display)->data(0x48);
- component.update: my_display
esp32:
@@ -58,14 +62,13 @@ spi:
miso_pin: GPIO12
display:
- platform: ili9xxx
- platform: mipi_spi
model: ILI9488
spi_id: tft_spi
cs_pin: GPIO15
dc_pin: GPIO2
reset_pin: GPIO4
rotation: 0
mirror_x: true
invert_colors: false
color_order: bgr
data_rate: 10MHz