We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Must correct this line of code in TouchButton.cpp
uint16_t x = map(p.y, TS_MINY, TS_MAXY, 0,320 ); uint16_t y = map(p.x, TS_MINX, TS_MAXX, 240, 0);
to
uint16_t x = map(p.y, TS_MINY, TS_MAXY, 320,0 ); uint16_t y = map(p.x, TS_MINX, TS_MAXX, 240, 0);
because my touch was inverted, maybe it is a problem of my screen .. idk
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Must correct this line of code in TouchButton.cpp
to
because my touch was inverted, maybe it is a problem of my screen .. idk
The text was updated successfully, but these errors were encountered: