-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
class Adafruit_GFX_Button #118
Comments
have a look at this sketch a snippet from the page
|
Thanx :-) This is working really good with the provided code. btw: Screen is rotated BEFORE the button setup :-) Button Setup: void DrawBtns() Inside Loop:
} |
As i understand it how the system detects the change in orientation is done by a sensor much like what is found in a mart phone. Which then redraws the screen with the correct button positions. |
In class Adafruit_GFX_Button there is a function for detecting if the button is pressed or has been pressed.
But I cant find any documentation for it...
How can I use this?
The text was updated successfully, but these errors were encountered: