Hi there,
So which mcu and BSP are you using?
I think if you connect all the right dots, and code is working It should work. AFAIK
GL PJ
I saw that HA thread about the “cheap touch controller” btw , so I think someone has it working.
external_components:
- source: github://bearpawmaxim/esphome@pr3625fix
components: [gc9a01]
- source: github://pr#5941
components: [cst816]
spi:
mosi_pin: GPIO7
clk_pin: GPIO6
i2c:
sda: GPIO4
scl: GPIO5
output:
- platform: ledc
pin: GPIO3
id: gpio_3_backlight_pwm
light:
- platform: monochromatic
output: gpio_3_backlight_pwm
name: "Display Backlight"
id: backlight
restore_mode: ALWAYS_ON
display:
# - platform: ili9xxx
# model: gc9a01
# Above is for when or if this is merged into the ili9xxx platform
- platform: gc9a01
id: watchface
cs_pin: GPIO10
dc_pin: GPIO2
width: 240
height: 240
eight_bit_color: false
rotation: 270
update_interval: 1s
lambda: |-
...
touchscreen:
id: cst816d
platform: cst816
interrupt_pin: GPIO0
reset_pin: GPIO1
transform:
swap_xy: true
mirror_y: true
on_touch:
- ...
You still need to tweek the pins ,for example I think the touch controller is INT GPOI7
or this?