Setting up multiple timers with the new API - Arduino Forum
I have a program using the old API calls to the hardware timer functions for an ESP32. Uses something like this and works great. timer = timerBegin( 3, 80, true ); timerAttachInterrupt( timer, onTimer, true ); timerAlarmWrite(timer, 1000, true); timerAlarmEnable(timer); Under the new API how do you setup and access each of the timers. The new timerBegin only has one argument passed . The old . . .
more
|