Mal Marker
New member
I have been trying to use hibernate on the Teensy 3.5 using Duff's Snooze examples. All the examples work very well Teensy 3.2 however fail on the Teensy3.5. Can anyone help with this problem?
I have installed the current version 6.25 of snooze and Arduino 1.8.0. Both the Teensy 3.2 and 3.5 should be able to use the alarm to wake as I understand form the documentation.This is the simplified code that works on the Teensy 3.2 but not the Teensy 3.5.
#include <Snooze.h>
SnoozeAlarm alarm;
SnoozeBlock config_teensy35(alarm);
void setup() {
pinMode(LED_BUILTIN, OUTPUT);
alarm.setAlarm(0, 0, 10);// hour, min, sec
}
void loop() {
int who;
who = Snooze.hibernate( config_teensy35 );// return module that woke processor
digitalWrite(LED_BUILTIN, HIGH);
delay(200);
digitalWrite(LED_BUILTIN, LOW);
delay(200);
}
I have installed the current version 6.25 of snooze and Arduino 1.8.0. Both the Teensy 3.2 and 3.5 should be able to use the alarm to wake as I understand form the documentation.This is the simplified code that works on the Teensy 3.2 but not the Teensy 3.5.
#include <Snooze.h>
SnoozeAlarm alarm;
SnoozeBlock config_teensy35(alarm);
void setup() {
pinMode(LED_BUILTIN, OUTPUT);
alarm.setAlarm(0, 0, 10);// hour, min, sec
}
void loop() {
int who;
who = Snooze.hibernate( config_teensy35 );// return module that woke processor
digitalWrite(LED_BUILTIN, HIGH);
delay(200);
digitalWrite(LED_BUILTIN, LOW);
delay(200);
}