Go Down

Topic: Attiny wake up using external interrupt (Read 1 time) previous topic - next topic


Hey, I'm trying to find a way to get the attiny45 to run a simple sketch(I.e. blink an led) then attach an interrupt and enter into sleep mode. The interrupt is a physical switch and I would like for it to be triggered by a CHANGE. I have a problem though, every time I do this, either the 45 just skips the sleep mode function all together, or I can't get it to wake up. Could anyone help out? Thanks.

P.s. I'm using the 8mhz bootloader on the 45

Coding Badly

...#6, fifth bullet.

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131