Since this long post did not garner any help.
viewtopic.php?f=60&t=173877
I will try it this way.
What is the color format (packed integer, list, tuple..... other?)
that the 'colorwheel' call in all of the animation libraries?
I am trying to writw my own colorwheel function and keep getting the following error:
File "code.py", line 93, in <module>
File "adafruit_led_animation/animation/rainbowsparkle.py", line 83, in __init__
File "adafruit_led_animation/animation/rainbow.py", line 77, in __init__
File "adafruit_led_animation/animation/rainbowsparkle.py", line 93, in generate_rainbow
File "adafruit_led_animation/animation/rainbow.py", line 84, in generate_rainbow
MemoryError: memory allocation failed, allocating 1024 bytes
code.py contains a typical led animation that works quite well, except when I substitute my own 'colorwheel' function that gets called.
My take is that the format that is returned by the function is not what these animation functions are expecting. Any help would be welcome.
Roger