Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Touch Calibration ILI9341 in Micropython LVGL V8 not working #346

Open
perrer12 opened this issue Jun 14, 2024 · 0 comments
Open

Touch Calibration ILI9341 in Micropython LVGL V8 not working #346

perrer12 opened this issue Jun 14, 2024 · 0 comments

Comments

@perrer12
Copy link

perrer12 commented Jun 14, 2024

Hello,

thanks for the great library.

I would like to use the tcal.py to calibrate my touchscreen, LVGL V8.

I use an ESP32 D1 Mini and an Ili9341 Touch 2.8 inch Touch display.

I use:

disp = ili9341(miso=19, mosi=23, clk=18, dc=27, cs=5, rst=33, power=-1, backlight=-1, mhz=20, width=320, height=240, rot=LANDSCAPE)

and

touch = xpt2046(cs=15, cal_x0=0, cal_x1 = HRES, cal_y0=0, cal_y1 = VRES, transpose=False)

for initialization.

The screen shows the image, but does not react to clicking on the circle.

The above initialization works with other example codes (i.e. touch works), but the calibration is then not correct.

What can I do to calibrate the touch screen?

Many thanks in advance

Perrer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant