fungus:
I don't think millis() will do anything useful. I turned off the hardware timer in setup() (if it's ticking then there's a bug!)Time spent in between calls to update() is time the LEDs aren't lit up. I think you'd have to do a lot before you notice them get visibly dimmer, but bear it in mind.
yes i noticed that, and i used millis and micros to synchronize the duration of functions and other things, i think it easier to use than the method that you used in your example code... i do something like this, and it acts like a delay, but it's useful for other things too:
#define TIME 100
...
_time=millis();
while(millis()- _time < TIME) tlc5940.update();
fungus:
I just tried it and there's a line in setup() that doesn't compile. The line is:TCCR1 = 0;It should work if you replace that line with:
#if defined (__AVR_ATtiny85__)
TCCR1 = 0;
#else
TCCR1A = TCCR1B = 0;
#endif
ok thank you, after i'll try that if i've time ;)