How reebot Controller

Do you have a question on how to do something.
Ask in here.
Post Reply
LucianoB
Posts: 23
Joined: Fri Mar 11, 2016 4:39 pm

How reebot Controller

Post by LucianoB »

Hi, I need know if exist some instruction for schedule one controller reboot. I did't find that.
Thank you a lot.
libertyaquarium
Posts: 21
Joined: Fri Jan 12, 2018 6:33 am

Re: How reebot Controller

Post by libertyaquarium »

Hi there.

//reboots at midnight
if (hour()==0 && minute()==0 && second()== 0) while(1);
LucianoB
Posts: 23
Joined: Fri Mar 11, 2016 4:39 pm

Re: How reebot Controller

Post 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
binder
Posts: 2871
Joined: Fri Mar 18, 2011 6:20 pm
Location: Illinois
Contact:

Re: How reebot Controller

Post 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
LucianoB
Posts: 23
Joined: Fri Mar 11, 2016 4:39 pm

Re: How reebot Controller

Post by LucianoB »

Thank you so much. I will try.

Greetings from Argentina.
Post Reply