Page 1 of 1

How reebot Controller

Posted: Sun Mar 04, 2018 4:48 pm
by LucianoB
Hi, I need know if exist some instruction for schedule one controller reboot. I did't find that.
Thank you a lot.

Re: How reebot Controller

Posted: Sun Mar 04, 2018 6:22 pm
by libertyaquarium
Hi there.

//reboots at midnight
if (hour()==0 && minute()==0 && second()== 0) while(1);

Re: How reebot Controller

Posted: Sun Mar 04, 2018 7:08 pm
by LucianoB
libertyaquarium wrote:Hi there.

//reboots at midnight
if (hour()==0 && minute()==0 && second()== 0) while(1);
Hi Thank you, but what are the instruction for reboot? just reboot? Sorry, I don't find one instruction sets.

Thanks again

Re: How reebot Controller

Posted: Sun Mar 04, 2018 7:13 pm
by binder
there is no instruction for reboot. the way you do it is to run a continuous loop and wait for the watchdog timer to reset the controller.

Sent from my XT1585 using Tapatalk

Re: How reebot Controller

Posted: Sun Mar 04, 2018 8:25 pm
by LucianoB
Thank you so much. I will try.

Greetings from Argentina.