-
Notifications
You must be signed in to change notification settings - Fork 16
Fixed issue #11 #12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixed issue #11 #12
Conversation
Import of fancy_led was causing Traceback (most recent call last): File "code.py", line 21, in <module> File "/home/travis/build/adafruit/Adafruit_CircuitPython_Bundle/libraries/helpers/fancyled/adafruit_fancyled/fastled_helpers.py", line 111, in loadDynamicGradientPalette AttributeError: 'module' object has no attribute 'CRGB'
On a CPX with CP 4.1.0 and lib 4.x from 10/4 https://github.com/adafruit/Adafruit_CircuitPython_FancyLED/blob/master/examples/fancyled_cpx_helper_example.py was failing with a Traceback (most recent call last): |
import adafruit_fancyled as fancy was causing a Traceback (most recent call last): File "code.py", line 21, in <module> File "/home/travis/build/adafruit/Adafruit_CircuitPython_Bundle/libraries/helpers/fancyled/adafruit_fancyled/fastled_helpers.py", line 111, in loadDynamicGradientPalette AttributeError: 'module' object has no attribute 'CRGB'
I did absolute patch wrong. Will open new PR. |
Reopening this PR with correct import statement |
added __init__.py
has 2 lines in it.. needs to be 0
0 length
Make empty __init__.py file
Zero length
Import of fancy_led was causing
Traceback (most recent call last):
File "code.py", line 21, in
File "/home/travis/build/adafruit/Adafruit_CircuitPython_Bundle/libraries/helpers/fancyled/adafruit_fancyled/fastled_helpers.py", line 111, in loadDynamicGradientPalette
AttributeError: 'module' object has no attribute 'CRGB'