Search found 2 matches
- Fri Jul 07, 2023 3:26 pm
- Forum: ESP32 Arduino
- Topic: ESP32 timer and hw_timer_t timer structure
- Replies: 2
- Views: 1762
Re: ESP32 timer and hw_timer_t timer structure
Perfectly clear. Thank You for the explanation.
- Tue Jul 04, 2023 1:06 pm
- Forum: ESP32 Arduino
- Topic: ESP32 timer and hw_timer_t timer structure
- Replies: 2
- Views: 1762
ESP32 timer and hw_timer_t timer structure
A classical way to setup a timer is for eample hw_timer_t *My_timer = NULL; My_timer = timerBegin(0, 80, true); timerAttachInterrupt(My_timer, &onTimer, true); timerAlarmWrite(My_timer, 1000000, true); timerAlarmEnable(My_timer); If this code is in a small init function, do we need to declare My_tim...