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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user