You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 29, 2023. It is now read-only.
Is your feature request related to a problem? Please describe.
I'm using v1.2.0. I'd like to use an ESP32TimerInterrupt (ESP32Timer) object inside a class without having to use a pointer.
I don't understand why there is a default constructor "ESP32TimerInterrupt()" that sets the timer number (_timerNo) to MAX_ESP32_NUM_TIMERS but there is no setTimer() method. There is a "getTimer()" method that returns the private _timerNo variable.
Describe the solution you'd like
Add a setTimer(uint8_t timerNo) method.
Describe alternatives you've considered
My current solution is to have a pointer variable to an ESP32TimerInterrupt and allocate it either in my object constructor or other method.