Hi
I am new to this and have tried to add a ping sensor into an existing program
Error message - “turn left” was not described in this scope
Can you help please as I have tried everything
worked ok before adding Ping sensor
Try using Ctrl-T to format the code properly and you will see that you have messed up the braces{}. Because of that you're trying to define functions inside another function and that doesn't work. Go back to the original code and see where loop() starts and ends and that should show you what's wrong.