Closed Solaerts closed 1 year ago
You want it to be 90 degrees rotated ? You can use the rotate mapper: https://github.com/hzeller/rpi-rgb-led-matrix/tree/master/examples-api-use#rotate
I already done that, and it's not the result I am expecting. The result I want looks like this :
H E L L O
This scrolling from up to down.
ah, that is simply how you program where the characters to appear. So you want to break your string apart into letters and write them at the same X pos and with a Y pos shifted according to the font height. And for scrolling you add an offset to the y coordinate for all of them (so for each update of the screen you add an offset for all characcters to be a bit more down).
But that is purely what your program will have to do, not an issue in or feature needed from this library.
"VerticalDrawText" function
https://github.com/hzeller/rpi-rgb-led-matrix/blob/master/lib/led-matrix-c.cc
Ah, good point, I forgot that DrawVerticalText()
was available.
Ok thanks guys it will help a lot.
I have 2 matrix of 64x32 and I have connected them in parallel to have one matrix of 64x64. I was scrolling a text from right to left but I want to to scroll from up to down. How do I do that pls ? I am using a raspberry pi 2 and I am coding in python with Thonny.