I'm trying to fade multiple LEDs, independently, and at different rates. Is it possible to have the TLC5940 (or the arduino, for that matter) to run a series of "analogWrite" commands independently?In other words, send one "fade channel0 from 4095 to 0 in 5000ms" and, before it's finished, send "fade channel1 from 0 to 4095 in 2500ms".I know I could chain them together, so that as soon as channel0 finishes its fade, channel1 would begin...but that's not what I'm aiming for.
Your project sounds impressive - does that mean you'll be controlling 3x30 led outputs? are you going to need 6 TLC5940 to control the lot - or is it possible to multiplex the TLC5940 output pins?
A few of the changes:See TLC5940LED_pins.h for the pin setup.Added fading functionality: Tlc.newFade(channel, ms duration, start value, end value, when to start). See the examples.Added the ability to play animations from program memory (14kB!) . See the examples again.See TLC5940LED.h for all the function name changesI'll release a finished version soon which will include an animation creator to make animations.
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16