-
Notifications
You must be signed in to change notification settings - Fork 71
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 function to rotate each 8x8 matrix 90° left #8
base: master
Are you sure you want to change the base?
Conversation
can now rotate single 8x8 blocks
… for each 8x8 matrix.
It works but I believe it should also have this function documented in the Readme. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This fixed my problem, thanks
Sorry, I'm not particularly techie... How do I actually implement this rotation in a sketch? Thanks |
I was just looking for a way to do this for those cheap 4 display modules. |
Thank you for this! Worked like a charm |
Is it possible to add simple display text without any scrolling? |
Perfect. Thanks. Works as expected. |
This NEEDS to be merged! :D It's amazing and works! 90deg rotation FTW! |
It didn't work for my 4-display module. I had to change one line in targetblank code in the RotateLeft function (in CCP file). bitWrite(rotatedCols[8 * (deviceNum) + posY], posX, bitRead(cols[8 * (deviceNum) + posX], 7-posY)); |
For my display I need a RotateRight method , to fix the display on 2 matrixes |
Worked for me like a charm. Wondering why it is not merged. |
This one resolves #7 with a new function LedMatrix::setRotation(true|false). The rotation in rotateLeft is done with simple bitwise copying and may be optimized.