I have questions as well. I looked through the examples and it seems to relatively straight forward how to wake up the Teensy LC I am using in my project.
What I am trying to do is easy to describe. I am designing a little
IR remote controlled lighting system. hte last three posts on that blog pertain to this project.
Currntly when turned off it uses 13-14 mA of current when turned off.
I'd like to put the Teesny into sleep/hibernate when turned off and would like to have the IR pin wake the Teesny up when it receiveds a signal from the remote. Ultimately I want to be able to run this light using rechareable batteries.
It seems I'd simply have to confirure the pin using config.pinMode(PIN, INPUT_PULLUP, RISING);
Question 1: If the Infrared Library already useses an Interrupt - not sure if it dues - on this pin would this conflict or can this be resolved using differnt Interrupt priorities. ?
Question 2: It is not apparent to me what code actually puts the Teesny into sleep mode other han the Snooze block in loop(). I don't see in the example code how I could the teensy into sleep mode using code that is only executed when I press the corresponding "off" button on the remote ?