I recently obtained a STK500 and two ATtiny13V's. I've done basic I/O with them already, but I want to try something a little more advanced. I've been researching interrupts, yet I fail to find any particularly large amount of information on ATtiny13 interrupts. Specifically, I want to use 8-bit timer that it comes equipped with. I've looked through it's datasheet, yet the section on interrupts is confusing me. I am unable to understand how to initialize interrupts (or the timer). I also am having trouble understanding how to respond to a timer overflow interrupt. Simply put, I need to initialize the timer interrupt so I can do a certain action every time it overflows. Can anybody please help me with sample code to utilize timer interrupts on tiny13's or with a site that could help me with them? Thanks for any help, Kevin
Message
Help with using interrupts and ATtiny13.
2005-08-03 by klassasin
Attachments
- No local attachments were found for this message.