mirror of
https://github.com/esphome/esphome.git
synced 2026-10-14 02:02:51 +00:00
[mipi_spi] Add M5STACK-ATOMS3R-ST7735 as a display panel configuration (#18673)
This commit is contained in:
@@ -649,7 +649,7 @@ DriverChip(
|
||||
(0xF3, 0x52, 0xA4, 0x7F, 0x33, 0x34, 0xDF),
|
||||
),
|
||||
)
|
||||
DriverChip(
|
||||
ST7735 = DriverChip(
|
||||
"ST7735",
|
||||
color_order=MODE_RGB,
|
||||
width=128,
|
||||
|
||||
@@ -4,6 +4,7 @@ from esphome.components.mipi import (
|
||||
GMCTRP1,
|
||||
IDMOFF,
|
||||
IFMODE,
|
||||
MODE_BGR,
|
||||
PWCTR1,
|
||||
PWCTR2,
|
||||
SETEXTC,
|
||||
@@ -11,7 +12,7 @@ from esphome.components.mipi import (
|
||||
DriverChip,
|
||||
)
|
||||
|
||||
from .ili import ILI9341, ST7789V
|
||||
from .ili import ILI9341, ST7735, ST7789V
|
||||
|
||||
# fmt: off
|
||||
DriverChip(
|
||||
@@ -71,3 +72,23 @@ GC9107.extend(
|
||||
cs_pin=14,
|
||||
requires={"psram"},
|
||||
)
|
||||
|
||||
# M5Stack AtomS3R (ST7735 revision - May 14, 2026+)
|
||||
ST7735.extend(
|
||||
"M5STACK-ATOMS3R-ST7735",
|
||||
native_width=132,
|
||||
native_height=132,
|
||||
width=128,
|
||||
height=128,
|
||||
offset_width=2,
|
||||
offset_height=1,
|
||||
pad_width=2,
|
||||
pad_height=3,
|
||||
data_rate="40MHz",
|
||||
color_order=MODE_BGR,
|
||||
invert_colors=True,
|
||||
reset_pin=48,
|
||||
dc_pin=42,
|
||||
cs_pin=14,
|
||||
requires={"psram"},
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user