Is there an easy command to set up a timer-based interrupt? I've seen threads on manipulating interrupt registers but I think that's beyond my current understanding. Just checking to see if there's a simpler way to handle this before I dive into the tricky stuff.
What I want to do is turn an LED on after a button triggers a CHANGE interrupt event and have a timer turn it off after a set interval. There are a few buttons and LEDs, and some other things happen on the button press event, so I'd rather keep the button event processing triggered by interrupts.
If this isn't easy I'll move the timer stuff to the main loop.
Thanks!
What I want to do is turn an LED on after a button triggers a CHANGE interrupt event and have a timer turn it off after a set interval. There are a few buttons and LEDs, and some other things happen on the button press event, so I'd rather keep the button event processing triggered by interrupts.
If this isn't easy I'll move the timer stuff to the main loop.
Thanks!