File Name: ExternalSensorsOutside.ino
Function: To test the functionality of the Reflectance Sensors. Used for Exercise 2 of the pR&D.
Date Created: 1/17/18
Date Modified: 1/30/18
// Run all motors at a constant speed of 25% power for 2 seconds.
motorSpeed(4,25);
goFor(2);
// Run all motors at a constant speed of 20% and using the goToAbsolutePosition function travel a total distance of 12 feet
// 12 feet = 144 inches = 70.2 marks
motorSpeed(4,20);
goToAbsolutePosition(70.2);
// Reverse motors.
reverse(4);
// Run all motors at a constant speed of 30% power for 1.5 second.
motorSpeed(4, 30);
goFor(1.5);
// Brake all motors
brake(4);