49 uint16_t _resetStateTime = 10;
Class for a Serial Wombat chip. Each Serial Wombat chip on a project should have its own instance.
SerialWombatPin(SerialWombatChip &serialWombatChip)
Instantiates a Serial Wombat Pin.
uint8_t pin()
Returns the current SW pin number. Used primarily for virtual calls by derived classes.
void begin(uint8_t pin, SerialWombatPinState_t normalState, SerialWombatPinState_t resetState, uint16_t timeout_mS, bool resetWombatAfterTimeout)
Initialize a SerialWombatWatchdog.
void updateResetCountdown(uint16_t time_mS)
Reset the countdown timer to a specified number of mS.
SerialWombatWatchdog(SerialWombatChip &serialWombat)
Constructor for SerialWombatWatchdog.