With the new timer API v3.0 and above, i could not find where i choose the timer i want to use.
In the previous API v2.X we had to declare "timer = timerBegin(1, 80, true); means Timer 1, prescaler 80 → 1 MHz (1 µs ticks)".
In the new API, where can i choose timer 3 for example ?
New Timer API, where is the selection of the timer ?
-
lbernstone
- Posts: 1131
- Joined: Mon Jul 22, 2019 3:20 pm
Re: New Timer API, where is the selection of the timer ?
The ESP-IDF v5 gptimer driver manages the timers as a pool to abstract away the hardware differences between different variants.
Who is online
Users browsing this forum: Google [Bot], Semrush [Bot] and 3 guests