I cannot get the Ping sensor to work when using the arduino code that I have! Can anyone help with the correct code to use?
What model Ping sensor do you have? The example that comes with the Arduino IDE (under File -> Examples -> 06.Sensors -> Ping) should work for the Parallax Ping sensor. Other ultrasonic sensors sometimes require modifications to the sample…
Thanks got it now.