Closed ogghst closed 3 years ago
@ogghst It looks like the LCD function was called somewhere with an incorrect coordinate parameter. If we find the wrong parameter, we may find the cause of the problem.
I don't know how you modify the code, so please provide the complete code.
my fault, fixed
Environment
git describe --tags
to find it): idf4.3_py3.9_2021-01-07xtensa-esp32-elf-gcc --version
to find it): xtensa-esp32-elf-gcc (crosstool-NG esp-2020r3) 8.4.0Problem Description
trying the lvgl thermostat and other apps, everything runs OK wiring the display to the DEVKITC V4 board as per description, and removing the touch calibration line.
but when connecting the XPT2046 pins (using a dedicated CS and the same MOSI/MISO/CLK pins), scaling down the touch clock to 2500000, i receive correct coordinates from the touch screen (something around 2000 and 3000 both X and Y) but immediately after 100-200 errors equals to this:
C:/Development/esp/esp-iot-solution-master/components/display/screen/controller_driver/ili9341/ili9341.c:248 (lcd_ili9341_set_window):The set coordinates exceed the screen size
Code to reproduce this issue
// If your code is longer than 30 lines, GIST is preferred.
Debug Logs
Other items if possible
sdkconfig.txt