Is there a way for the photon to reboot itself after a predetermined amount of time. I know how to set a timer in code but can’t seem to find a reboot command. Something as simple as:
if (millis() > 86000000)
{
reboot();
}
Is there a way for the photon to reboot itself after a predetermined amount of time. I know how to set a timer in code but can’t seem to find a reboot command. Something as simple as:
if (millis() > 86000000)
{
reboot();
}
Thanks.
hey… I know this is a closed thread, but… is there still a way to do this? the link seems to be gone.
@romuloescamilla, you can find it here:
thanks! it works beautifully!
-R
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.