You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I am trying to use the NeoPixel library with my Raspberry Pi 5, but I am encountering the following error:
Traceback (most recent call last):
File "/home/usuario/program/driver/program.py", line 14, in <module>
leds = neopixel.NeoPixel(board.D21, 200)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/neopixel.py", line 141, in __init__
self.pin = digitalio.DigitalInOut(pin)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/digitalio.py", line 193, in __init__
self.direction = Direction.INPUT
^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/digitalio.py", line 223, in direction
self._pin.init(mode=Pin.IN)
File "/usr/local/lib/python3.11/dist-packages/adafruit_blinka/microcontroller/bcm283x/pin.py", line 40, in init
GPIO.setup(self.id, GPIO.IN)
RuntimeError: Cannot determine SOC peripheral base address
I read that the Raspberry Pi 5 has some incompatibilities with the GPIOs. Does anyone have a solution for this? Or should I wait for an update?
Thank you in advance!
The text was updated successfully, but these errors were encountered:
Yeah the Pi 5 has some hardware changes that makes it have incompatibilities. Check out this issue from the rpi_ws281x library, this includes their development of raspberry pi 5 using the LEDs. No release from them but some users have made some fixes.
Hi,
I am trying to use the NeoPixel library with my Raspberry Pi 5, but I am encountering the following error:
I read that the Raspberry Pi 5 has some incompatibilities with the GPIOs. Does anyone have a solution for this? Or should I wait for an update?
Thank you in advance!
The text was updated successfully, but these errors were encountered: