Download: https://learn.adafruit.com/adafruit-metro-m0-express-designed-for-circuitpython/circuitpython
Note: Your board may already have CircuitPython installed and preloaded. If you already have the latest version of CircuitPython on your board, you can skip to the next step.
Download: https://circuitpython.org/libraries
Note: The library bundle includes all the current libraries available for CircuitPython and some example files. Since we will not being using all of the libraries, we do not need to copy all of them onto the board (see the next step).
If you don't already have a lib folder on your board, create a new folder called lib on the CIRCUITPY Drive.
Unzip the CircuitPython Library Bundle and find the simpleio and adafruit_motor libraries. Copy these files to the lib folder on the CIRCUITPY Drive.
Learn more about using libraries here.
Note: The only libraries we will be using in these tutorials are simpleio and adafruit_motor. If you need more libraries in future projects, you can find the libraries you need from the library bundle and copy them to your board.
Your code will only be run on the board if the board is connected to your computer
The board will only run the code in the code.py file.
You can save your code for the challenges in separate files and then copy the code you want to run into code.py.
If you unplug or reset the board before your computer finishes writing the file to your board, you can corrupt the drive. If this happens, you may lose the code you've written, so it's important to backup your code to your computer regularly.
Learn more about creating and editing code here.