11. Case 03 - A Magnetism-controlled Dog
11.1. Purpose
Program to control the movement of XGO through the magnetism.
11.2. Materials Required
1 × micro:bit XGO Robot Kit
11.3. Hardware Connections
Connect the micro:bit with the computer.
11.4. Software Platform
11.5. Program
Add the XGO extensions.
11.6. Program
Code
Link: A Magnetism-controlled Dog
You can also download it directly below:
11.7. FAQ
If XGO doesn’t move, please try replacing a new electromagnet.
11.8. Exploration
How to give more commands to XGO with different magnetic force ?