Hi - I am trying to run the Henner Zeller code using the Pi Zero 2 and the matrix bonnet with a 64x64 panel. I've soldered the extra bit to allow for a 64x64 panel, but I can't seem to get the python examples to display properly. There are gaps in the display. However with the C examples I can get it to display correctly. Any ideas on the python code?
Thanks!!
Adafruit Matrix Bonnet with 64x64
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- mikeysklar
- Posts: 13936
- Joined: Mon Aug 01, 2016 8:10 pm
Re: Adafruit Matrix Bonnet with 64x64
Try this:
It might be necessary to rebuild the python library if you are not seeing 64x64.
https://github.com/hzeller/rpi-rgb-led- ... issues/213
Code: Select all
$ sudo python
Python 2.7.9 (default, Mar 8 2015, 00:52:26)
[GCC 4.9.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from rgbmatrix import RGBMatrix
>>> matrix = RGBMatrix(32, 4, 1)
>>> print ('width={}, height={}'.format(matrix.width, matrix.height))
width=64, height=64
>>>
Code: Select all
make -C lib clean all
sudo make -C python clean
make build-python
sudo make install-python
Please be positive and constructive with your questions and comments.