Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
Artemiy117A

Artemiy117

@Artemiy117
About
Posts
1
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Watchdog on 2.0
    Artemiy117A Artemiy117

    wdt.h is included on Arduino IDE.
    This example show how it's work:

    #include <avr/wdt.h>
    
    int counter=0;
    void setup(){
       wdt_disable();
       
        Serial.begin(9600);
      Serial.println("Starting...");
      delay(1000);
     
      wdt_enable(WDTO_8S);
      
    }
    
    void loop(){
      wdt_reset();
      
       Serial.println(counter);
       counter++;
       
       if(counter==5){
          while(true){}
       }
       delay(500);
      
    }```
    General Discussion 2.0 mqtt watchdog
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular