Set up the watchdog timer to prevent the program from crashing.
Init WDT timeout milliseconds
Initializes the watchdog timer and sets the timeout period.
WDT feed
Feeds the watchdog.
Initialize the watchdog with a timeout period of 2 seconds and feed the watchdog every 1 second.