People have been PM'ing me about my single-pin ultrasonic driver for the
Parallax PING))) ultrasonic sensor module.
I've cut out most of the signal processing, noise filtering, and object tracking code that I wrote, but there is enough here to get you your pulse-timing (raw distances). If you have questions post, please don't PM since many end up asking the same questions.
I realize it isn't the prettiest code, but then again I was never intending on posting it when it was written...
Enjoy... I attached the related files below. *cringes waiting for flood of 'this is bad programming convention' posts*
-q