Code for robot wont work

randomnoob2

Not sure what your problem is, but I have had this too when using a faulty USB lead.

Also, have you gone to the IDE 'Tools' tab and set 'Board' and 'Port' correctly. For some reason it works best with the highest Port number - or the one marked Arduino.