I'm pulling my hair out trying to get this ATtiny45 to work, hopefully someone out there can help.
The ultimate goal is to drive an RGB LED strip using PWM, but I'm getting some unreliable behavior from the ATtiny. To start, all I want is to blink a single LED on each of the three channels, pin5/PB0, pin6/PB1, and pin3/PB4. Right now the LEDs are connected directly from the pin to ground.
The problem: the board seems to reset itself, some times so fast the first LED just strobes, some times a second or two after the program starts. I have a 10k pull-up resistor on the reset pin(pin1/PB5), and have tried just connecting reset directly to Vcc. Nothing seems to make a difference. It seems to be worse when I add more LEDs.
The same program works fine when run on a full-sized Arduino UNO board, and it seems like the ATtiny has the program correctly downloaded. I tried a handful a of the ATtiny chips, and they all seem to behave similarly.
I'm pretty sure I got the chips from DigiKey, so I'm fairly certain that they are legit.
Any help would be very much appreciated.