Case 03 - A Magnetism-controlled Dog
Contents
6. Case 03 - A Magnetism-controlled Dog#
6.1. Purpose#
Program to control the movement of XGO through the magnetism.
6.2. Materials Required#
1 × micro:bit XGO Robot Kit
6.3. Hardware Connections#
Connect the micro:bit with the computer.
6.4. Software Platform#
6.5. Program#
Add the XGO extensions.
6.6. Program#
Code#
Link: A Magnetism-controlled Dog
You can also download it directly below:
6.7. FAQ#
If XGO doesn’t move, please try replacing a new electromagnet.
6.8. Exploration#
How to give more commands to XGO with different magnetic force ?