ArduinoTimerObject icon indicating copy to clipboard operation
ArduinoTimerObject copied to clipboard

The TimerObject class provides repetitive and single-shot timers for Arduino

Results 3 ArduinoTimerObject issues
Sort by recently updated
recently updated
newest added

It seems we can only create object using new. I am not sure why this restriction is added. I want to create its object on stack,

https://github.com/aron-bordin/ArduinoTimerObject/blob/af372e79c3bca2899c07ca1e840a6e8836a48223/TimerObject.cpp#L68 Since you used unsigned variables, the math will work out correctly and you will get correct differences when subtracting across the wraparound. This code should render your timers invalid...

im testing this and dont run # include TimerObject *TimerLed = new TimerObject(50,&ParpadeaLed); int ledState =LOW; void setup() { // put your setup code here, to run once: //TimerLed.setOnTimer(ParpadeaLed); ParpadeaLed();...