37 void setState(uint8_t newState, uint8_t timeout);
47 virtual __FlashStringHelper* getStateString() = 0;
void setState(uint8_t newState, uint8_t timeout)
Changes to a new state
uint8_t stateTimer
state timer, in ticks
Maintains a state variable and allows to pull out a state string representation for debugging...