![Gather Workshops Logo](/programming/theme/assets/images/gw_logo.png)
Basic Motion
Starting Point
![Starting Point](assets/images/startingpoint.jpg)
Always start with the mBot Program block.
Without this entry point, your program will not start.
Basic Motions
![Basic Motions](assets/images/basic motion1.jpg)
You can go forwards, backwards, turn right, turn left.
You can also alter your robot’s speed.
Wait
![Basic Motions](assets/images/wait.jpg)
The wait command means how long the
previous block will go on for.
Copy this program on your own computer.
Want to go again?
![Control commands](assets/images/reset.jpg)
To repeat the same program again,
push the reset button on the robot.
Turning your robot
There is no precise way of turning your robot,
because the length of a turn is measured in seconds.
How would you program an exact quarter turn?
Challenge: Perfect Squares
Program your robot drive in a square using
the basic motions we have covered.
Your robot should drive in an exact square.