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.


Log in to reply
 

Suggested Topics

206
Online

9.6k
Users

10.2k
Topics

106.1k
Posts