Hi all!
I am trying to get esphome to work with an ili9341 display, but it’s nog fully using the display.
The touch seems to working fine for the entire screen.
I’ve tried many different configuration, but nothing seems to help. I believe the pins are ok, since I see a part of the screen as expected (red line and timestamp).
This is the display I’m using (it’s been tested by the company and should be working): https://www.tinytronics.nl/nl/displays/tft/2.8-inch-tft-display-240*320-pixels-met-touchscreen-spi-ili9341
This is the config I’m currently using:
display:
- platform: ili9xxx
model: ILI9341
cs_pin: 10
dc_pin: 6
data_rate: 80Mhz
spi_mode: MODE0
color_order: bgr
dimensions:
height: 320
width: 240
update_interval: 5s
reset_pin: 5
rotation: 0
id: tft_ha
lambda: |-
it.fill(Color::BLACK);
it.rectangle(0, 0, it.get_width(), it.get_height(), id(my_red));
it.strftime(it.get_width(), 0, id(arial), TextAlign::TOP_RIGHT, "%H:%M", id(esptime).now());
Does anyone experienced and solved this or know how to find the issue?
Thanks in advance!
