The Ohio State University: College of Engineering

Lab 08 – Performance Test 1 Code

reverse(4); // reverses motors                   

 motorSpeed(4, 30); // sets both motors to 30% power

 goToAbsolutePosition(322); // moves to mark 322

 motorSpeed(4,0); // sets both motors to 0% power