SparkFun Forums 

Where electronics enthusiasts find answers.

Discussions on the software and hardware for Atmel's STK standard.
By nvxwax
#176078
What is the pin state during power up, Im using an ATtiny45 to control a few relays and when powered up it turns them on for a short time, once everything is settled everything runs fine, they are being controlled via pulse width from a RC radio, is there a way to force the output pins to stay high or low during power up?

Thanks
User avatar
By leon_heller
#176081
I/O pins are tri-stated on reset. You will have to pull them up or down with resistors if you want them to have a known value on power up.