9. Case 01 - Run in A Square Routine
9.1. Purpose
Program to run it in a square routine.
9.2. Materials Required
1 × micro:bit XGO Robot Kit
9.3. Hardware Connections
Connect the micro:bit with the computer.
9.4. Software Platform
9.5. Program
Add the XGO extensions.
9.6. Program
Code
Linkl Run in A Square Routine
You can also download it directly below:
9.7. FAQ
If XGO doesn’t run a perfect square, please try adjusting the time and speed.
9.8. Exploration
How to program it to run in circles?