You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First off: I appreciate your contribution, even if this can't be fixed.
Simple code test on a Teensy LC. Nothing is connected to the LC, however it is powered by Vin, so the USB/Vin jumper on the bottom of the LC is cut, 5.03V power is supplied on Vin, and USB is connected. The call to Snooze.sleep() never returns. I tried deepSleep() also, the only difference being that the USB port goes away when the LC enters deep sleep. I believe it's supposed to wake up after 500ms. It doesn't. The code:
`#include <Snooze.h>
#include <SnoozeBlock.h>
const int ledPin = 13;
SnoozeTimer timer;
SnoozeBlock my_config(timer);
void setup() {
pinMode(ledPin, OUTPUT);
timer.setTimer(5000);// milliseconds
delay(5000); // Because otherwise, we can't ever program it again
}
First off: I appreciate your contribution, even if this can't be fixed.
Simple code test on a Teensy LC. Nothing is connected to the LC, however it is powered by Vin, so the USB/Vin jumper on the bottom of the LC is cut, 5.03V power is supplied on Vin, and USB is connected. The call to Snooze.sleep() never returns. I tried deepSleep() also, the only difference being that the USB port goes away when the LC enters deep sleep. I believe it's supposed to wake up after 500ms. It doesn't. The code:
`#include <Snooze.h>
#include <SnoozeBlock.h>
const int ledPin = 13;
SnoozeTimer timer;
SnoozeBlock my_config(timer);
void setup() {
pinMode(ledPin, OUTPUT);
timer.setTimer(5000);// milliseconds
delay(5000); // Because otherwise, we can't ever program it again
}
void loop()
{
digitalWrite(ledPin, HIGH);
delay(10);
digitalWrite(ledPin, LOW);
Snooze.sleep( my_config );
}`
The text was updated successfully, but these errors were encountered: