Using a watchdog timer as a system tick to drive an LED periodically