Rebooting device

Posted on
  • I'm trying to code "Reset to factory defaults" function, Every think is OK but I need to reboot the board.

    Are there a way to reboot the board?

  • There's no easy function to call. You could try something like:

    E.enableWatchdog(1);
    while(1);
    

    I'm not sure if it works, but it should do. You might notice problems with USB when it comes back though (as it may have disconnected and reconnected very quickly).

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview
About

Rebooting device

Posted by Avatar for fobus @fobus

Actions