ledthemfight icon indicating copy to clipboard operation
ledthemfight copied to clipboard

Does not work on Raspberry Pi 5

Open Jezorko opened this issue 8 months ago • 0 comments

The rpi-ws281x library is not compatible with Raspberry Pi 5 (see issue #528) so this application fails as well:

led_driver: configuring 1 led string(s) with 60 pixel(s)
led_driver: exception:
Traceback (most recent call last):
  File "/tmp/ledthemfight/worker_led.py", line 277, in drive_led_forever
    do_initial_setup(strings, arg)
  File "/tmp/ledthemfight/worker_led.py", line 218, in do_initial_setup
    strings.append(PixelString(conf["num_pixels"], 18, conf["inverted"]))
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/tmp/ledthemfight/worker_led.py", line 152, in __init__
    self.ps.begin()
  File "/usr/local/lib/python3.11/dist-packages/rpi_ws281x/rpi_ws281x.py", line 143, 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)

Jezorko avatar Jun 09 '24 20:06 Jezorko