adafruit / Adafruit_CircuitPython_NeoPixel

CircuitPython drivers for neopixels.
MIT License
302 stars 98 forks source link

Support NeoPixel on Rock Pi S #131

Closed ab-tools closed 2 years ago

ab-tools commented 2 years ago

When trying to use this NeoPixel library on a Rock Pi S I've get following error message:

Traceback (most recent call last):
  File "./led-test.py", line 8, in <module>
    import neopixel
  File "/usr/local/lib/python3.8/dist-packages/neopixel.py", line 18, in <module>
    from neopixel_write import neopixel_write
  File "/usr/local/lib/python3.8/dist-packages/neopixel_write.py", line 33, in <module>
    raise NotImplementedError("Board not supported")
NotImplementedError: Board not supported

Is there a chance to add support for Rock Pi boards for this NeoPixel library as well?

Thanks in advance Andreas

ladyada commented 2 years ago

someone would have to write the low level interface code, probably using PWM DMA like raspberry pi. we have no plans to do it, and its not clear if its possible

ab-tools commented 2 years ago

First thanks for your reply, appreciated!

Although native support by this library would be best, of course, I actually did get NeoPixels to work with the Rock Pi S using your SPI library: https://github.com/adafruit/Adafruit_CircuitPython_NeoPixel_SPI

In case somebody else needs it, I've explained the steps needed here: https://forum.radxa.com/t/how-to-use-neopixels-with-rock-pi-s/10492/2

ladyada commented 2 years ago

nice work! will close as resolved