ArduinoDumbDisplay v0.9.9-r50
DumbDisplay Arduino Library -- https://github.com/trevorwslee/Arduino-DumbDisplay
 
Loading...
Searching...
No Matches
DDTimeChangeStateHelper Class Reference

#include <__dd_misc_value.h>

Public Member Functions

void initialize (int initialState=-1, long stateChangeInMillis=0)
 
void checkStatChange (DDChangeStateInfo(*stageChangedCallback)(int currentState))
 

Detailed Description

helper class for timing for changing stage; call initialize() to set the initial state and next "stage change" delay (in millis); call checkStateChange() to check if the new state became effective (changed), if so, stageChangedCallback is called to get back next "stage change" info