Datasheet

Step 3: Download and flash your code
If your board is working in the simulator, it's time to download it to your actual board! Click the Download button. It will
generate a .uf2 file and download it to your computer. UF2 (https://adafru.it/vPE) is a file format designed by Microsoft
to flash microcontrollers over USB.
General Steps to copy over your program (not specific to any Operating system)
* Ensure your board is connected via USB.
* Find the .uf2 file generated by MakeCode in your file explorer. Copy it to the MAKECODE or boardnameBOOT
volume.
* The status LED on the board will blink while the file is transferring. Once it's done transferring your file, the board will
automatically reset and start running your code (just like in the simulator!)
If you receive a "we could not run this project" error, please check over your code for errors.
On a Mac, you can safely ignore the "Disk Not Ejected Properly" notification that may appear after copying
your .uf2 file.
© Adafruit Industries
https://learn.adafruit.com/adafruit-feather-m0-express-designed-for-circuit-python-
circuitpython
Page 183 of 199