How to control Neopixel lights with Python (UP Xtreme)
I'm trying to command a WS2812B LED strip using Python.
However when importing the board library I'm met with the following error :NotImplementedError: Board not supported GENERIC_LINUX_PC
I've installed the mraa library as well as Adafruit Python GPIO library and I'm using the adafruit-circuitpython-neopixel package to control the strip.
Any help would be greatly appreciated !
Best Answer
-
the adafruit-circuitpython-neopixel requires the https://github.com/adafruit/circuitpython library which supports only the following platforms: https://github.com/adafruit/circuitpython#ports
Unfortunately it cannot work on UP series, unless you try modifying the circuitpython library
Answers
-
Hello @DCleri
Thanks a lot for your answer ! I'll look for another LED strip that's easier to control. Would those operating over i2c work better on the UP series ?
-
It depends if you are looking for speed, yes, but in general you should make sure the SW support is not limited to a few platforms, but more generic.
As mentioned if the device is supported by a library like MRAA, then you will be able to use it with many different systems.
Tagged
Categories
- All Categories
- 63 Announcements & News
- 48 Product News - New Product/Product Change Notice/ End-of-life
- 96 Welcome Developers!
- 45 Unboxing & Project Sharing
- 22 Tech Updates
- 3.4K UP Products
- 15 UP 7000
- 1 UP Squared i12
- 11 UP Xtreme i12
- 13 UP Squared Pro 7000
- 1 UP Element i12 Edge
- 23 UP Squared V2
- 65 UP 4000
- 23 UP Xtreme i11
- 34 UP Squared 6000
- 56 UP Squared Pro
- 136 UP Xtreme
- 820 UP Squared
- 1.4K UP Board
- 74 UP Core Plus
- 217 UP Core
- 3 UP Xtreme Lite
- 40 UP AI Edge
- 264 Starter Kits & Peripheral