got a kit for Christmas, running on a Pi4. All built and ready to test, and the following happens.
pi@raspberrypi:~/git/Freenove_Robot_Dog_Kit_for_Raspberry_Pi/Code/Server $ sudo python test.py Led
Traceback (most recent call last):
File "test.py", line 3, in <module>
led=Led()
File "/home/pi/git/Freenove_Robot_Dog_Kit_for_Raspberry_Pi/Code/Server/Led.py", line 22, in __init__
self.strip.begin()
File "/usr/local/lib/python3.7/dist-packages/rpi_ws281x/rpi_ws281x.py", line 131, in begin
raise RuntimeError('ws2811_init failed with code {0} ({1})'.format(resp, str_resp))
RuntimeError: ws2811_init failed with code -3 (Hardware revision is not supported)
Segmentation fault
I will try to figure out how to fix it (looks like the rpi_ws281x library doesn't like Pi4s), but thought this should go here for others in the same position.
Hi all,
got a kit for Christmas, running on a Pi4. All built and ready to test, and the following happens.
I will try to figure out how to fix it (looks like the rpi_ws281x library doesn't like Pi4s), but thought this should go here for others in the same position.
Thanks
Russ