TeensyThreads and external interrupts

bigpilot

Well-known member
The TeensyThreads API mentions sleeping for a certain amount of time, but how about sleeping until an interrupt wakes up the CPU? Does the library allow for that?

This is obviously relevant for battery powered applications where you want the CPU to sleep most of the time.
 
The TeensyThreads API mentions sleeping for a certain amount of time, but how about sleeping until an interrupt wakes up the CPU? Does the library allow for that?

This is obviously relevant for battery powered applications where you want the CPU to sleep most of the time.
You might want to look at the Snooze library. It is included with Teensyduino.
 
Back
Top