1
0
mirror of https://github.com/esphome/esphome.git synced 2026-02-08 00:31:58 +00:00

[mipi_spi] Add M5CORE2 model (#12301)

This commit is contained in:
Ludovic BOUÉ
2025-12-05 21:24:57 +01:00
committed by GitHub
parent 7421f31160
commit 1fa7adbe8d

View File

@@ -148,6 +148,19 @@ ILI9341 = DriverChip(
),
),
)
# M5Stack Core2 uses ILI9341 chip - mirror_x disabled for correct orientation
ILI9341.extend(
"M5CORE2",
width=320,
height=240,
mirror_x=False,
cs_pin=5,
dc_pin=15,
invert_colors=True,
pixel_mode="18bit",
data_rate="40MHz",
)
DriverChip(
"ILI9481",
mirror_x=True,