Example to demonstrate how to animate few LEDs using a TLC5940 chip.
#include "AlaLed.h" AlaLed alaLed; byte pins[] = { 4, 5, 6, 7, 8 }; void setup() { alaLed.initTLC5940(5, pins); alaLed.setAnimation(ALA_GLOW, 2000); } void loop() { alaLed.runAnimation(); }
Great,
ReplyDeleteThanks,
How can I run 2 animations after another ?
Like BARSHIFTRIGHT+BARSHIFTLEFT
Or how to make custom animations ?
Thanks again
Fred Boliau
Hi,
Deletelook at these two examples
http://yaab-arduino.blogspot.it/p/ala-example-multiledseq.html
http://yaab-arduino.blogspot.com/p/ala-example-rgbledseq.html
It's not possible to make custom animations at the moment.
Hi,
ReplyDeleteCan I use 4 TLC5940 chips with this library?
If it possible how can I wire and code it?
Thank you