Timer management with and without interrupt
Posted: Wed Jun 29, 2016 2:55 pm
Hi,
I need to set high a GPIO (digital out) for 25 microseconds and then put it down for 975 microseconds. It is microseconds and not milliseconds.
Could you give a example of code in (RTOS) C for ESP32 using the right lib?
I saw the blinky example, but it's based on milliseconds, and on callback functions for os_timer functions. Should we use "delay()" as we don't want the 25 microseconds to be interrupted. The 975 microseconds can be interrupted .
Thanks in advance,
I need to set high a GPIO (digital out) for 25 microseconds and then put it down for 975 microseconds. It is microseconds and not milliseconds.
Could you give a example of code in (RTOS) C for ESP32 using the right lib?
I saw the blinky example, but it's based on milliseconds, and on callback functions for os_timer functions. Should we use "delay()" as we don't want the 25 microseconds to be interrupted. The 975 microseconds can be interrupted .
Thanks in advance,