This provides a basic Watchdog service, and includes a startup detection to determine if the reset was caused by the WD.

Fork of Watchdog by David Smart