Skip to content

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