Reboot Node



  • Hi.
    If good understand then Watchdog is used for low powre timer , when use .sleep function then use this timer for max 8s .
    But I need reboot Node . Then how can I do that ?
    I use BCD encoder for manuany set Node ID . If want chagne ID then powr Off battery and change position on BCD encoder .. and Powr On and Node set new ID .
    But I want do it in my loop function .. if change BCD encoder then in loop I compare BCD ID with Node ID if not equal then
    I want reboot node .

    but how to do it if watch dog is used for timer not reset ??

    how use funtion gw.reboot(); ???

    regards ..


  • Hero Member

    @dzairo search the Web for rebooting arduino from code. There are many ways each with its own (dis) advantages.


 

301
Online

7.8k
Users

8.7k
Topics

92.9k
Posts