Lab 4 Arduino Code

reverse(4); //reverse all motors
motorSpeed(4,30); //all motors to 30%
goFor(2); //wait 2s
motorSpeed(4,25); //all motors to 25%
goToAbsolutePosition(-247); //go till the -247th mark from start
reverse(4); //reverse all motors
motorSpeed(4,30); //all motors to 30%
goToRelativePosition(148); //go till the 148th mark from start
brake(4); //stop all motors