You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Basically it is a 16X16 RGB WS2812B (neopixel) matrix. The funny thing about it is that it has the same "scanning" layout as the Unicorn hat. I am trying to get it to work for running the examples in the luma.examples repository and the applicable examples for this library. I tried my best to get it to work by importing the ws2812 device and specifying a matrix upon device initialization.
For some of the examples I get an output, however the consistent issue I'm having is that the library seems to think that the display is bigger than it actually is. The reason I think I am getting only some of the examples to work is because for some of them the output is "off" the matrix. As an example in the neomatrix_demo.py from this library, the box never seems to fully fit on the display until it shrinks a bit for a few of the animations. Box_demo.py (also from this library) draws a correct outline but the "hello world" text is cut off ("hel" is shown and the top half of "llo"). The same general sizing issues happen for the examples in the luma.examples library. I also tried adding the above matrix to luma.led_matrix.device under it's own definition and importing it like the one for the Unicorn Hat but when I tried to import it following the unicorn hat instructions it gave an import error. Defining the matrix in the actual example file with the code above works though it just has the sizing issue.
Any ideas? I can provide pictures later if necessary.
The text was updated successfully, but these errors were encountered:
Type of Raspberry Pi
Model B Rev 2
Linux Kernel version
Linux raspberrypi 4.14.98+ #1200 Tue Feb 12 20:11:02 GMT 2019 armv6l GNU/Linux
Expected behaviour
I have what I think must be a newer product as support for it seems to be lacking. More information about it can be found here: https://www.amazon.com/gp/product/B01DC0IOCK/ref=ppx_yo_dt_b_asin_title_o05_s00?ie=UTF8&psc=1
Basically it is a 16X16 RGB WS2812B (neopixel) matrix. The funny thing about it is that it has the same "scanning" layout as the Unicorn hat. I am trying to get it to work for running the examples in the luma.examples repository and the applicable examples for this library. I tried my best to get it to work by importing the ws2812 device and specifying a matrix upon device initialization.
code I have added to the examples I want to run:
Actual behaviour
For some of the examples I get an output, however the consistent issue I'm having is that the library seems to think that the display is bigger than it actually is. The reason I think I am getting only some of the examples to work is because for some of them the output is "off" the matrix. As an example in the neomatrix_demo.py from this library, the box never seems to fully fit on the display until it shrinks a bit for a few of the animations. Box_demo.py (also from this library) draws a correct outline but the "hello world" text is cut off ("hel" is shown and the top half of "llo"). The same general sizing issues happen for the examples in the luma.examples library. I also tried adding the above matrix to luma.led_matrix.device under it's own definition and importing it like the one for the Unicorn Hat but when I tried to import it following the unicorn hat instructions it gave an import error. Defining the matrix in the actual example file with the code above works though it just has the sizing issue.
Any ideas? I can provide pictures later if necessary.
The text was updated successfully, but these errors were encountered: