Open cloudwalking opened 9 years ago
Hi!
Yeah, that's surely a good idea. I don't have neopixels right now with me, but most probably I'll be able to play around with them and the library next week.
Doesn't need to be written for Neopixels specifically. A callback would work with any kinda pixel :)
Looking forward to what you come up with! This library is really great.
I also tried to write an animation library for Arduino. This one is much better than mine! But I would really love to use this library with Neopixels.
Perhaps one easy way to approach this would be a function pointer which gets called with the R, G, B values in each loop iteration. This would let the implementation use any sort of LEDs without the library needing to worry about various kinds. What do you think?