NewPing Library: HC-SR04, SRF05, SRF06, DYP-ME007, Parallax PING))) - v1.7

mattlogue:
Sadly, I get compile errors.

I and thousands of other people do not get compile errors. So you should really share what you're getting and what you changed. My guess is that you're not using Arduino hardware. But, who knows because you give no details.

Tim