rm-hull/luma.led_matrix

neopixel device not rotating

Fishhooks1945 opened this issue · 0 comments

Hello, sorry to trouble you guys with this, but I am having a problem rotating my creations using the Luma library. When I try to rotate it does not show up.

Details of my installation:
Rasp Pi 3B+ Linux 5.10.63-v7+ #1488 SMP Thu Nov 18 16:14:44 GMT 2021 armv7l GNU/Linux
latest python , all libs up to date including luma stuff

I am trying to rotate the demo python code for my matrix. I expect this piece of code:
device = neopixel(cascaded=64, rotate=1)
to rotate the display, but when i run it, the display does not light up at all. When I drop the rotate=1, it works fine again (just not rotated)

The different thing happens when I try to edit neopixel_demo.py:
device = neopixel(width=8, height=8, mapping=UNICORN_HAT, rotate=1)
does not work. the display still shows my code, but it is NOT rotated.
this works, just not rotated either:
device = neopixel(width=8, height=8, mapping=UNICORN_HAT)

What Am i doing wrong?
Thank you for the help! :)