BOlaerts / ESP32-2432s028

Home Assistant integration using ESPHome on an esp32-2432s028 board, featuring I²C expansion and touchscreen functionalities
MIT License
143 stars 19 forks source link

display seems to draw in the wrong direction #7

Closed binagun closed 1 year ago

binagun commented 1 year ago

Hi i just tried the code example but it seems to draw the image in the wrong orientation, leaving a band of noise on the right hand of the display ( assuming the usb-c port is left ). i assume that it might be an easy fix some where however i'm not wel versed with display drawing code and lcd libs 20231022_113336

leifnel commented 1 year ago

There are different display types. I use

display:
  - platform: ili9xxx
    model: ILI9342
    rotation: 90
    spi_id: lcd
    cs_pin: 15
    dc_pin: 2

I haven't managed to fix the touch yet.

BOlaerts commented 1 year ago

In the closed issue list, there is a similar reporting. The solution that Leif suggested was the solution to fix the issue for that one. Hope it helps you too.

binagun commented 1 year ago

thanks for the quick responses i hadn't thought of looking at the closed issues. il try the purposed solution after work. on a side note i'v gotten the "schematic/connection diagram" and arduino IDE examples from the seller of my board if your interested.