The watchdog serves two purposes:
Indicate that system is running (or not).
Manually stop the Pi to avoid corruption before powering off.
- Version:
- 0.0.1
Requires
- module:brewdefs
- module:child-process
- module:i2c
- module:events
Members
Watchdog: integer
inner
constant
interval
Methods
start()
static
Initialise I2C bits for LED and button. Monitor both on every heartbeat.
stop()
static
Stop the Watchdog service
start() static
Initialise I2C bits for LED and button. Monitor both on every heartbeat.
stop() static
Stop the Watchdog service