Skip to content

TypeError: in method 'ws2811_led_set', argument 3 of type 'uint32_t'  #115

Open
@CrabbyPete

Description

@CrabbyPete

I am running on a headless 64bit bookworm version of Raspberry Pi OS. I am running it on a "Raspberry Pi 3 Model A Plus Rev 1.1", so I had to edit rpihw.c to include it. When I run the code I get the following:

File "/home/pi/pilotmap/lib/python3.11/site-packages/rpi_ws281x-5.0.0-py3.11-linux-aarch64.egg/rpi_ws281x/rpi_ws281x.py", line 155, in setPixelColor
self[n] = color
~~~~^^^
File "/home/pi/pilotmap/lib/python3.11/site-packages/rpi_ws281x-5.0.0-py3.11-linux-aarch64.egg/rpi_ws281x/rpi_ws281x.py", line 118, in setitem
return ws.ws2811_led_set(self._channel, pos, value)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: in method 'ws2811_led_set', argument 3 of type 'uint32_t'

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