J
jeremy
16 minutes
A watchdog is a hardware timer that resets the controller unless the code keeps refreshing it. It catches a hung program, which could otherwise leave a motor running. The reset must also leave the outputs in a safe state.