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

enjoyneering:
So why do we need it? it just takes ram and time to execute the code.

You have the option! Turn it off and save a bit of memory, or leave it on and it works with one pin. The default "on" method works either way, which is why it's default. Also, the saved memory is VERY small, probably 8 bytes. So it's not much of a hit for 100% compatibility.

But, you have the option so I'm not sure what the issue is. 100% compatibility out of the box and a user option to save 8 bytes sounds like the only solution to me. But, make an argument if you wish.

Tim