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
- 303 All Categories
- 104 Announcements & News
- 52 Product News - New Product/Product Change Notice/ End-of-life
- 184 Welcome Developers!
- 53 Unboxing & Project Sharing
- 24 Tech Updates
- 595 UP Products
- 6 UP Xtreme i12
- 1 UP Squared Pro 7000
- 1 UP Element i12 Edge
- 13 UP Squared V2
- 41 UP 4000
- 24 UP Xtreme i11
- 34 UP Squared 6000
- 49 UP Squared Pro
- 140 UP Xtreme
- 828 UP Squared
- 1.4K UP Board
- 89 UP Core Plus
- 221 UP Core
- 3 UP Xtreme Lite
- 44 UP AI Edge
- 215 Starter Kits & Peripheral