14 _defaultDelayAmountSeconds = defaultDelayAmountSeconds;
15 _delayRunning =
false;
21 SerialLots.println(
"stopDelay _delayRunning=false");
23 _delayRunning =
false;
30 if (_delayRunning && ((
millis() - _delayStart) >= (_delaySeconds * 1000)))
32 _delayRunning =
false;
33 SerialLots.println(
"delayFinished..");
42 SerialLots.printf(
"startDelay: %f\n", seconds);
46 _delaySeconds = seconds;
void startDelay(float delayAmountSeconds)
starts delay calculation
boolean delayFinished()
whether the currently delay is finished, false if not running at all
TimerDelayClass(float defaultDelayAmountSeconds)
constructor
void stopDelay()
stops delay