Arduino 2 Wheel Drive Ultrasonic Robot Kit uploading problem

hi…

This is my first attempt at programming. I am a retired pensioner and interested robotics. I have completed the sensor robot and trying to make it work. After uploading I get the message "exit status 1
a function-definition is not allowed here before ‘{’ token " After looking around on the web I could not find anything to help. So any advice or pointers in the right direction would be much appreciate. I have attached the error printout… best regards Ian

error.txt (1.12 KB)

Posting error messages without the source code that produced them just wastes time.
Post your code.
Use code tags.

It's not an uploading problem :wink: It's a compile (verify) problem.

As AWOL says, post your code using code tags so it looks like

your code here