Upload
neil-winterburn
View
43
Download
3
Embed Size (px)
Citation preview
Prototype Summer SchoolProgramming the MBot to turn
Turn for 5 seconds,then stop.
Turn for 5 seconds,then repeat.
How long to turn for
Sets speed of motorsleft (M1) = Slow forwardsright (M2) = Fast forwards
Tests if it is within thefirst 5 seconds
Tests if 5seconds haspassed
Sets speed of motors to 0
Resets the timer