Hello Kyle,
Thanks for sharing more information! Since you are trying to measure a pulse of a specific time, the best way to achieve this is to use a timer along with a pin in input capture mode. I recommend you using the quad timer for this purpose. In the SDK you will find an example named qtmr_inputcapture_outputpwm. This example first measures the duration of a pulse with the input capture mode and then outputs a PWM. I highly recommend you refer to this example to see how to make the input capture configuration.
Have a great day,
Victor
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------