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

Fixed indexing for digits of the 7 segment display #74

Closed
wants to merge 3 commits into from

Conversation

SleepySpaceBear
Copy link

I changed the implementation of writeDigitRaw to account for the fact that the colon is index 2 in the display buffer. This fact led to the documentation in the header file being incorrect with regard to all of the writeDigit functions for the Adafruit_7Segment class.

This will break existing code that uses the backpack should the users of this library update the version they're using, but the usage and effect will match the documentation and what I think is the most reasonable assumption about the related functions' behaviors.

This fixes #70, but breaks existing code using the library.

@SleepySpaceBear SleepySpaceBear deleted the indexing-fix branch February 9, 2024 00:42
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.

writeDataRaw() & writeDigitAscii() descriptions are incorrect & incomplete
1 participant