Skip to content

LED for Pi 5 doesn't work #1

@4EverBuilder

Description

@4EverBuilder

I can't get the LED light going. It complains with the following:

sudo python ledPixel.py 1
Traceback (most recent call last):
File "/home/pi/Desktop/Freenove_Robot_Arm_Kit_for_Raspberry_Pi/Server-Pi5/Code/ledPixel.py", line 183, in
led=LedPixel()
^^^^^^^^^^
File "/home/pi/Desktop/Freenove_Robot_Arm_Kit_for_Raspberry_Pi/Server-Pi5/Code/ledPixel.py", line 25, in init
self.strip.begin()
File "/usr/local/lib/python3.11/dist-packages/rpi_ws281x-4.3.4-py3.11-linux-aarch64.egg/rpi_ws281x/rpi_ws281x.py", line 128, 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions