back to the pings))

In your code you are not using pulsein like the other code in the playground. I think your way of doing it may be taking too much time and you are missing the return pulses. Also remember the sonic waves are not very directional and bounce off objects so you need to find a way to isolate the two pings from hearing the others echo.