14 static const uint16_t NormalOnMs = 50;
15 static const uint16_t NormalOffMs = 450;
16 static const uint16_t QuickOnMs = 25;
17 static const uint16_t QuickOffMs = 125;
18 static const uint16_t QuickerOnMs = 25;
19 static const uint16_t QuickerOffMs = 25;
20 static const uint16_t SlowOnMs = 50;
21 static const uint16_t SlowOffMs = 950;
22 static const uint16_t SlowerOnMs = 50;
23 static const uint16_t SlowerOffMs = 1950;
51 Heartbeat(
const uint8_t pin,
const bool invertedLogic=
false);
105 void updatePin(
bool state);
110 const bool _invertedLogic;
112 uint32_t _lastStateFlip;
void setCustomMode(uint16_t onTime, uint16_t offTime)
void setEnabled(bool on=true)
Heartbeat(const uint8_t pin, const bool invertedLogic=false)
Indicates custom on/off times (set with setCustomMode)