parallax ping

The examples i have found work fine such as:

and

http://www.arduino.cc/playground/Main/UltrasonicSensor

Basically the signal that comes out of the ping sensor is used as both input and output and is plugged into digital pin 7, my question is how do i out put the data from the digital pin to max/msp, or can i plug the ping into one of the analog pins?

I am using max/msp and want to read the data from the digital

*sorry ignore the last line