- What do you expect with seconds worth of delays in the loop??
- Explore the newPing library
Please correct your post above and add code tags around your code:
[code]`` [color=blue]// your code is here[/color] ``[/code].
It should look like this:// your code is here
(Also press ctrl-T (PC) or cmd-T (Mac) in the IDE before copying to indent your code properly)