|
Edited by 1615328063 at 2021-3-10 06:52 AM
Dears,
I've bought RaspTank in February and connected it to Raspberry Pi 4B. After running webSerwer.py I'm geting the following error:
- 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
Copy the Code It is called from robotLight.py which is called from both LED.py or OLED.py...
When I comment the part of code that calls the robotLight.py part, the Web App has "connect error" on a screen and the Robot is not reacting to the commands from buttons on the screen.
I tried to solve the issue using https://www.adeept.com/learn/tutorial-352.html but "scons" or "sudo python3 setup.py build" throws an error so I cannot add the library on my own..
Please help me - how to solve the issue with rpi_ws281x? I assume you can provide two options:
1) tell how to fix existing RaspTank code
2) Tell how to reinstall the library using "scons" and the rest of tutorial
Many thanks!
Piotr
|
|