Hey guys,
I'm using the TLC Library from Alex Leone dated 02/03/09 and I can't seem to get the LEDs to stop flickering during a Tlc.setAll() fade.
What am I missing to get the flickering to stop? Also there is no visible difference in brightness levels between about 1300 and 4095.
#include "Tlc5940.h"
int max=4095;
void setup()
{
Tlc.init();
Serial.begin(9600); //check speed
}
void loop()
{
Tlc.clear();
// Fade in all outputs
for(int i=0;i<max;i+=5){
Tlc.setAll(i);
Tlc.update();
Serial.println(i);
delay(5);
}
// Fade out all outputs
for(int i=max;i>=0;i-=5){
Tlc.setAll(i);
Tlc.update();
Serial.println(i);
delay(5);
}
// Tlc.update();
}