prototype summer school 2016: program an mbot robot move forwards
TRANSCRIPT
![Page 1: Prototype Summer School 2016: Program an MBot robot move forwards](https://reader037.vdocuments.us/reader037/viewer/2022092803/58d0b7fe1a28ab1d3a8b5c05/html5/thumbnails/1.jpg)
Prototype Summer SchoolProgramming the MBot to move forwards
Forwards for 5 seconds,then stop.
Forwards for 5 seconds,pause for 1 second,then repeat.
How many seconds to move for
Sets speed of motors to 50
Tests if it is after the first 3seconds
Tests if it is within the first 3 seconds
Tests if fiveseconds haspassed
Sets speed of motors to 0
Tests if it is after the first 4seconds and resets the timer