Halfway Checkpoint

voidmyCode()

{

//Reverse all motors
reverse(4);

//Run all motors at constant speed for 30% power
motorSpeed(4,30);

// Run motor to specific position for 1.35 seconds
goToAbsolutePosition(246);
goFor(1.35);

//Reverse all motors
reverse(4);

// Run all motors at constant speed for 30% for 1 second
motorSpeed(4,30);
goFor(1);

//Brake all motors for 7 seconds
brake(4);
goFor(7);

}