Graphics lib: is it possible to mirror the buffer? #1137
Replies: 3 comments
-
Posted at 2017-10-10 by @gfwilliams Yes, it should be pretty straightforward. You spotted So you can either do |
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-10-11 by n00b Got it thanks! |
Beta Was this translation helpful? Give feedback.
-
Posted at 2018-01-29 by Mrbbp Oh great this exactly what i'm looking for. é |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2017-10-10 by n00b
I bought a cheap RGB123 clone (16x16 WS28xx rgb matrix) and the neopixel lib works with it. My problem is using Graphics lib the display is flipped on this module. I seem to need to mirror the buffer horizontally. I know that Graphics has setRotation to apply rotation before writing to the buffer, is there similar thing for mirroring? Another way could be to clone the buffer and apply matrix transform (is the arrayBuffer a 2D array?) to mirror it and then write the transformed buffer to the LEDs. Thought I'd ask here before researching the buffer transform route...
Beta Was this translation helpful? Give feedback.
All reactions