hey,
i had a perfectly good, working exactly as i required circuit and all has gone pear shaped.
i was moving the components from breadboard to solder board, and i removed the led bar graph (array of leds) and replaced with leds and still worked fine.
then i dropped out the tlc5940 and something went wrong, either i have 9 broken tlc5940's or I've knocked a wire or something?
but for the life of me, i cannot get any response out of the tiny / tlc.
the absolute best i have, is when i program the board, the leds flash.
//super cut down code
#include "Tiny85_TLC5940.h"
int latchPin = PB1;
int clockPin = PB2;
int dataPin = PB0;
void setup() {
pinMode(latchPin, OUTPUT);
pinMode(dataPin, OUTPUT);
pinMode(clockPin, OUTPUT);
tlc5940.init();
tlc5940.clear();
} // end of s`
void blink() {
for (int i=0; i<16; i++) {
tlc5940.set(i, 4096);
tlc5940.update();
delay(1000);
}
for (int i=0; i<16; i++) {
tlc5940.set(i, 0);
tlc5940.update();
delay(1000);
}
}
void loop () {
blink();
}