Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not work on Raspberry Pi 5 #1

Open
Jezorko opened this issue Jun 9, 2024 · 0 comments
Open

Does not work on Raspberry Pi 5 #1

Jezorko opened this issue Jun 9, 2024 · 0 comments

Comments

@Jezorko
Copy link

Jezorko commented Jun 9, 2024

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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant