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

xtp Touch Screen #2

Open
x567234 opened this issue Jun 5, 2022 · 0 comments
Open

xtp Touch Screen #2

x567234 opened this issue Jun 5, 2022 · 0 comments

Comments

@x567234
Copy link

x567234 commented Jun 5, 2022

I couldn't figure out how to set these:
XPT2046_ACCURACY XPT2046_REVERSED XPT2046_MIRROR_X XPT2046_MIRROR_Y 1
RAW_MIN_X 300 RAW_MAX_X 3800 OUT_MIN_X 0 OUT_MAX_X 479
RAW_MIN_Y 200 //400 RAW_MAX_Y 3750 OUT_MIN_Y 0 OUT_MAX_Y 319

I am using 3.5" TFT SPI 480x320. I am using it in landscape (width 480 x height 320). the Chip is ILI9488.
I am using STM32F767 nucleo board.
When I touch the screen the drawn pixel is not even close to where I touched.

Thank you

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