Reflectance Sensor Test Code

motorSpeed(4,25); //Set both motors speed to 25%

goFor(2); //run both motors for 2 seconds

motorSpeed(4,20); //Set both motors speed to 20%

goToAbsolutePosition(332); //Run both motor until the AEV reach 12 feets

reverse(4); // reverse both motors

motorSpeed(4,30); // set both motors speed to 30 percents

goFor(1); // run both motors for 1 second

brake(4); // brake both motors