Setting up multiple timers with the new API - Arduino Forum
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 API has a parameter to select which . . .
more
|