Hi all, i am the beginner of arduino world. I want to measure a nano second pulse width for my application. After studying the literature i come to know the solution is DueTimer library. In this library i can measure the pulse width using getperiod() function. But i don't know how to use this function also i did't get any example code using this function. Is it like pulseIn command or something else. Please give the details of syntax of getperiod function and brief details about the time measurement.
Thank you in advance.
Hi all, i am the beginner of arduino world. I want to measure a nano second pulse width for my application. After studying the literature i come to know the solution is DueTimer library. In this library i can measure the pulse width using getperiod() function. But i don't know how to use this function also i did't get any example code using this function. Is it like pulseIn command or something else. Please give the details of syntax of getperiod function and brief details about the time measurement. Thank you in advance.