Hi I have used snooze with Teensy 3.5 and it works perfectly with simple code below. Same code doesnt work on Teensy 3.2. (teensy goes to sleep and never wakes up). Any thoughts?
`#include
const int led = 13;
// Load timer driver
SnoozeTimer timer;
// install timer driver to a SnoozeBlock
SnoozeBlock config(timer);
Hi I have used snooze with Teensy 3.5 and it works perfectly with simple code below. Same code doesnt work on Teensy 3.2. (teensy goes to sleep and never wakes up). Any thoughts? `#include
const int led = 13; // Load timer driver SnoozeTimer timer; // install timer driver to a SnoozeBlock SnoozeBlock config(timer);
void setup() {
Serial.begin(9600); pinMode(led, OUTPUT); timer.setTimer(5000);
}
void loop() { digitalWrite(led, HIGH); delay (3000); digitalWrite(led, LOW); Snooze.deepSleep(config); }`