hzeller / rpi-rgb-led-matrix

Controlling up to three chains of 64x64, 32x32, 16x32 or similar RGB LED displays using Raspberry Pi GPIO
GNU General Public License v2.0
3.67k stars 1.17k forks source link

unable to run python sample using RGBMatrix #516

Closed Taprik closed 6 years ago

Taprik commented 6 years ago

the two sample image-draw.py & image-viewer.py display nothing. They seems to work as there is no errors and I can escape. It's with : a recent PI3 the adafruit hat the current raspbian image python 2.7 the command is : sudo python image-draw.py --led-chain=4

The code of image.draw.py indicates that it needs rgbmatrix.so in the same folder. But the only rgbmatrix.so that I know is from the adafruit fork of the rgb matrix api but it does not work too

The other sample are working as expected

hzeller commented 6 years ago

If you have the Adafruit hat, you need to give the option --led-gpio-mapping=adafruit-hat.