fabricacode / arduinoLightAnimation

CSS3 style color animation library for controlling RGB leds on Arduino
10 stars 3 forks source link

Neopixels? #1

Open cloudwalking opened 9 years ago

cloudwalking commented 9 years ago

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?

amicoleo commented 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.

cloudwalking commented 9 years ago

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.