Hi Guys,
I’m almost finished with a projector using the Tracker SoM board, except after my program is finished performing I want my Tracker SoM to sleep until a certain pin goes high.
Here is my current if statement that determines when the device sleeps:
if (sleepTime + (sleepDelay * 60 * 60 * 1000) <= millis())
{
TrackerSleep::instance().wakeFor(D8,RISING);
}
Not sure what I’m missing, but It does not seem to be entering sleep mode…(I have the sleep function from the particle console enabled)
Any advice or recommendations will be tremendously appreciated!
Thank you,
Kevin