Here's what I've got so far:
-I've connected the anode to the bottom hole of R0 where it shows V+ on the silkscreen, cathode on the top hole.
-All the other LED holes are unconnected, just unsoldered holes.
-I've checked the current for the LED without adding any additional resistors (15mA) and voltage (5V) as is written in the description.
-I quickly tested the voltage across a superbright 3mm white LED when on before it burned out and I'm reading about 5V if that's any help.
-My USBTinyISP is still connected, i'm powering the ATTiny85 via the programmer's USB cable to my laptop.
I've got two problems:
1. Burning out LEDs
2. SPI error for ATTiny85
For #1, regardless of what my LED's forward voltage is, if it's rated for 20mA, I assume the default 15mA (and 3.3k resistor) that the driver provides is just fine eh? So far the blink sketch is still on the ATTiny85 chip so there's nothing talking to the LED driver yet.
For #2 I have commented out Serial references (any simple way to get Serial to work?). The error I am getting is in the SPI library, what do you recommend?
Code: Select all
In file included from tlc59711test.ino:19:
/Applications/Arduino.app/Contents/Resources/Java/libraries/SPI/SPI.h: In static member function 'static byte SPIClass::transfer(byte)':
/Applications/Arduino.app/Contents/Resources/Java/libraries/SPI/SPI.h:56: error: 'SPDR' was not declared in this scope
/Applications/Arduino.app/Contents/Resources/Java/libraries/SPI/SPI.h:57: error: 'SPSR' was not declared in this scope
/Applications/Arduino.app/Contents/Resources/Java/libraries/SPI/SPI.h:57: error: 'SPIF' was not declared in this scope
/Applications/Arduino.app/Contents/Resources/Java/libraries/SPI/SPI.h: In static member function 'static void SPIClass::attachInterrupt()':
/Applications/Arduino.app/Contents/Resources/Java/libraries/SPI/SPI.h:63: error: 'SPCR' was not declared in this scope
/Applications/Arduino.app/Contents/Resources/Java/libraries/SPI/SPI.h:63: error: 'SPIE' was not declared in this scope
/Applications/Arduino.app/Contents/Resources/Java/libraries/SPI/SPI.h: In static member function 'static void SPIClass::detachInterrupt()':
/Applications/Arduino.app/Contents/Resources/Java/libraries/SPI/SPI.h:67: error: 'SPCR' was not declared in this scope
/Applications/Arduino.app/Contents/Resources/Java/libraries/SPI/SPI.h:67: error: 'SPIE' was not declared in this scope