ExternalSensorsOutside

File name: ExternalSensorsOutside.ino

 

 

 

//Runs both motors at 25% speed for 2 seconds.
motorSpeed(4,25);
goFor(2);
//Runs motors at 20% unitl vehicle has travelled 12 feet,
//then stops and reverses the motors, runs them at 30%
//for 1.5 seconds, then brakes all the motors.
motorSpeed(4,20);
goToAbsolutePosition(296);
brake(4);
reverse(4);
motorSpeed(4, 30);
goFor(1.5);
brake(4);