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

Added ability to invert Menu Event button logic #1524

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

MikeEckels
Copy link

This is a small enhancement providing the user the ability to invert the logic of buttons used with menu events. This is helpful when a button is active HIGH rather than active LOW like the library currently supports. A simple bool to toggle inverted logic was added to the 'begin()' method when 'U8X8_USE_PINS' is defined.

@MikeEckels
Copy link
Author

Bumping this PR...Any desire to merge this? Relatively simple addition, but provides some helpful functionality.

@olikraus
Copy link
Owner

Probably I missed this. But actually it is my goal to remove button functionality. Instead MUI will be there which will support external button libraries: https://github.com/olikraus/u8g2/tree/master/sys/arduino/u8g2_page_buffer/MUIInput2BtnBounce2

MUI: #1747

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

Successfully merging this pull request may close these issues.

2 participants