Hello , by using FTM how to measure the pulse width of the echo signal and thereby the distance between the sensor and any obstacle, I am using K64F and HC-SR04 ultrasonic sensor using two pins one as trigger for the sensor and the other for the echo signal, so by using the dual edge capture mode how will be the code script **consider me as beginner :smileyhappy: