Library to control Dodge LX (83.3k) CAN devices
Dependencies: DodgeRadioLib EthernetWrapperLib OBDIILib mbed
Diff: WatchDogTimer.h
- Revision:
- 0:4d16a55d0eec
- Child:
- 2:e8b13ea2881b
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/WatchDogTimer.h Sat Aug 20 14:20:13 2011 +0000 @@ -0,0 +1,19 @@ +#ifndef WATCHDOGTIMER_H +#define WATCHDOGTIMER_H + +#include "mbed.h" + +// Simon's Watchdog code from +// http://mbed.org/forum/mbed/topic/508/ +class WatchDogTimer +{ +public: +// Load timeout value in watchdog timer and enable + void kick(float s); + +// "kick" or "feed" the dog - reset the watchdog timer +// by writing this required bit pattern + void kick(); +}; + +#endif \ No newline at end of file