Navigation

    • Register
    • Login
    • OpenHardware.io
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. Dencan
    3. Best
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Best posts made by Dencan

    • RE: 💬 NodeManager

      Hi, nice work!
      I have changed the code for REBOOT so there is no need for a reboot-pin.
      like this...

      else if (strcmp(message, "REBOOT") == 0) {
      #if DEBUG == 1
      Serial.println(F("REBOOT"));
      #endif
      // Software reboot with watchdog timer
      // Enter Watchdog Configuration mode:
      WDTCSR |= (1<<WDCE) | (1<<WDE);
      // Reset enable
      WDTCSR= (1<<WDE);
      // Infinite loop until watchdog reset after 16 ms
      while(true){}
      }

      posted in OpenHardware.io
      Dencan
      Dencan