4. BitBotXL module

The BitBotXL module is required to control the BitBotXL buggy.
Download the python file BitBotXL.py module.
Place it in the mu_code folder: C:\Users\username\mu_code
The file needs to be copied onto the microbit.
In Mu editor, with the microbit attached by USB, click the Files icon.
Files on the microbit are shown on the left.
Files in the mu_code folder are listed on the right.
Click and drag the BitBotXL.py file from the right window to the left window to copy it to the microbit.
The images below are for the MOVEmotor, but illustrate the idea.
Before copying:
../../_images/Mu_files.png

After copying:

../../_images/Mu_files_copied.png

4.1. Use BitBotXL library

To use the BitBotXL module, import it via: import BitBotXL.
from microbit import *
import BitBotXL