mirror of
https://github.com/esphome/esphome.git
synced 2026-06-02 19:18:20 +08:00
[mipi_spi] Add M5CORE2 model (#12301)
This commit is contained in:
@@ -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(
|
DriverChip(
|
||||||
"ILI9481",
|
"ILI9481",
|
||||||
mirror_x=True,
|
mirror_x=True,
|
||||||
|
|||||||
Reference in New Issue
Block a user