Roving robot

If you are getting that error, it usually means you have something wrong in the hardware, the computer is having difficulty communicating with the arduino. If the code compiles, the code is not the problem.