This example shows how an embedded program uses a watchdog timer to keep the system running safely. The watchdog timer counts up while the program runs tasks. The program must regularly feed or kick the watchdog to reset the timer to zero. If the watchdog timer reaches its timeout without being fed, it triggers a system reset to recover from possible errors. The execution table traces each step: initializing the watchdog, performing tasks, feeding the watchdog, and the timer values. Feeding the watchdog resets the timer to zero, preventing reset. If feeding is skipped, the timer continues to count up and eventually causes a reset. This mechanism helps embedded systems recover from software faults by restarting automatically.