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

Fix to displayHex logical error #19

Merged
merged 1 commit into from
May 19, 2022

Conversation

hastypete
Copy link
Contributor

@hastypete hastypete commented May 19, 2022

By doing a mod on the 'hex' parameter it allows function to properly handle integers past 15.
Fixes #18
This has been tested on Arduino UNO and Arduino Mega.
It works with any integer now and always displays the correct digit.

By doing a mod on the 'hex' parameter it allows function to properly handle integers past 15.
@gavinlyonsrepo gavinlyonsrepo merged commit 49a33a8 into gavinlyonsrepo:master May 19, 2022
@centic9
Copy link
Contributor

centic9 commented May 19, 2022

The else-if on line 142 is then not needed any more.

@gavinlyonsrepo
Copy link
Owner

This is now implemented in Version 1.9.0

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.

displayHex fix
3 participants