@ -13,7 +13,7 @@ void TimedPin::begin() {
PinOff();
}
void TimedPin::loop() {
void TimedPin::update() {
uint32_t t = millis();
int32_t tdif = t - RefTime;
switch (TPinMode) {
@ -28,7 +28,7 @@ class TimedPin {
public:
TimedPin(uint8_t pin, bool inverted = false);
void begin();
void loop();
void update();
void Blink(uint32_t t_on, uint32_t t_off, uint16_t cycles = 0);
void Blink(uint32_t t) { Blink(t, t); }
void BlinkCycles(uint32_t t_on, uint32_t t_off, uint16_t cycles) { Blink(t_on, t_off, cycles); };