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

Flipping the display #58

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Flipping the display #58

wants to merge 2 commits into from

Conversation

HoseanRC
Copy link

I added a simple code to rotate every digit in a display and flip their position to rotate the whole display

this works by swapping bits 0, 1 and 2 of the digit with bits 3, 4 and 5
this works like so:

 --0--           --3--
|     |         |     |
5     1         2     4
|     |         |     |
 --6--           --6--
|     |         |     |
4     2         1     5
|     |         |     |
 --3--  .7       --0--  .7

@HoseanRC
Copy link
Author

this have been tested with tm1650

@maxint-rd
Copy link
Owner

Excellent, thank you for your contribution!
When I have time I will review your PR and merge it.

@maxint-rd maxint-rd self-assigned this Oct 29, 2024
@maxint-rd maxint-rd added the enhancement New feature or request label Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants