Why is this AVR-only code in the Teensy documentation?

Then at least I'd add a notice saying "this code is for teensy 2 and other AVR-based boards". I got quite upset, as it was necessary for my Teensy 3.1 project and I bought it also because of this function :(
 
I got an answer from Paul! That's incredible :)

Thanks for the fast solution. Btw, do you know if it's possible to do something similar to temporarily reduce clock speed?
 
I looked at this library before, but does it support wake up using a button?

If you look at the examples, there are examples to wake the Teensy from sleep using any digital button that can generate interrupts, and from deepsleep using the buttons that can be configured for touch sensing.

On the Teensy 3.1, all digital input pins can be configured for interrupts. On the Teensy LC, pins 2-15 and 20-23 can be configured for interrupts.

On the Teensy 3.1, pins 0-1, 16-19, 22-23, 25, and 32-33 can be configured for touch sensing. On the Teensy LC, 0-1, 3-4, 16-19, and 22-23 can be configured for touch sensing.
 
Back
Top