FancyLED for Circuit Python! Check this out.
Awesome, can’t wait to try it out! I was just thinking about investigating wrapping FastLED for use in CircuitPython, for educational use.
I wonder if this will work on an ESP32 running micro python…
I’m finally trying it out on a Circuit Playground Express, but I can’t even seem to get the examples to work.
Anyone have this working, able to offer any advice before I submit an issue to the FancyLED project? Thanks in advance for any assistance!
Using this set of libraries: https://github.com/adafruit/Adafruit_CircuitPython_Bundle/releases/download/20180203/adafruit-circuitpython-bundle-2.2.1-mpy-20180203.zip
With this example (no changes made by me): https://github.com/adafruit/Adafruit_CircuitPython_FancyLED/blob/master/examples/cpx_rotate.py
I get:
Traceback (most recent call last):
File “code.py”, line 12, in
AttributeError: ‘module’ object has no attribute ‘CRGB’
Adafruit CircuitPython 2.2.1 on 2018-01-23; Adafruit CircuitPlayground Express with samd21g18
Sorry, hit submit too soon… Just had to change the import from:
import adafruit_fancyled.adafruit_fancyled as fancy
to:
from adafruit_fancyled import adafruit_fancyled as fancy
Hope this helps anyone else having the same issue. 