Reading the documentation for the sensor, it sounds like that if you connect its mode pin to ground, connect the trigger input pin (which is both trigger and echo in this mode) to pin 7 of the Arduino, and connect ground to ground and +5V to +5V, the example code should work as is. You may just need to change the delayMicroseconds(5) to delayMicroseconds(10).