Duff2013's Snooze library is absolutely brilliant, although it does seem to have a few 'gotchas' which aren't made apparently.
1)If your using the USB Serial for Debugging, you will need to perform another Serial.Begin after going to sleep and waking up.
2)If using CAN, you will need to completely re-initialize the whole CAN system so its all hunky dorey. Eg. CANBus = FlexCAN(500000).
Theres probably more. Essentially anything that you setup initially needs to be redone. Hopefully that saves someone from some frustration!
1)If your using the USB Serial for Debugging, you will need to perform another Serial.Begin after going to sleep and waking up.
2)If using CAN, you will need to completely re-initialize the whole CAN system so its all hunky dorey. Eg. CANBus = FlexCAN(500000).
Theres probably more. Essentially anything that you setup initially needs to be redone. Hopefully that saves someone from some frustration!