Hello,
I am using PING))) ultrasonic sensor,connected to pic18f4520, to measure distance. The sensor sends out a pulse to the pic and the width of the pulse determines the distance. How can i find the width of the pulse? I am guessing i need a timer. But i am not too sure about the sequence that i have to go through.
Thank you.
I am using PING))) ultrasonic sensor,connected to pic18f4520, to measure distance. The sensor sends out a pulse to the pic and the width of the pulse determines the distance. How can i find the width of the pulse? I am guessing i need a timer. But i am not too sure about the sequence that i have to go through.
Thank you.