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

Added function to rotate each 8x8 matrix 90° left #8

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

Conversation

targetblank
Copy link

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.

@bogdanr
Copy link

bogdanr commented Jan 16, 2017

It works but I believe it should also have this function documented in the Readme.

Copy link

@glyons glyons left a 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

@DuncanAmos
Copy link

Sorry, I'm not particularly techie...

How do I actually implement this rotation in a sketch?

Thanks

@joeybab3
Copy link

I was just looking for a way to do this for those cheap 4 display modules.

@signaleleven
Copy link

Thank you for this! Worked like a charm

@wchpikus
Copy link

Is it possible to add simple display text without any scrolling?
Now to display text you have to setTEST, choice scroll and commit, 3 functions..
can it be easy to add new one to send text with position on matrix?

@cyberkeiler
Copy link

Perfect. Thanks. Works as expected.
So (when) will it be merged, @squix78? 😃

@hozza
Copy link

hozza commented Jul 29, 2018

This NEEDS to be merged! :D It's amazing and works! 90deg rotation FTW!

@maubaum
Copy link

maubaum commented Dec 25, 2018

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).
Then worked perfectly!

bitWrite(rotatedCols[8 * (deviceNum) + posY], posX, bitRead(cols[8 * (deviceNum) + posX], 7-posY));

@linxcow
Copy link

linxcow commented May 19, 2019

For my display I need a RotateRight method , to fix the display on 2 matrixes
Can someone help me please?

@tschissler
Copy link

Worked for me like a charm. Wondering why it is not merged.

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.

Rotate 90 degree?