Setup


A standard text editor is all that's necessary to program the SAM32. However, beginners should install the Mu Editor to make the REPL more easily accessible. For advanced users, see Accessing the Serial Console if you don't want to install Mu.

  1. Download Mu: https://codewith.mu/en/download (release or latest alpha version work)

  2. Now you must fix Mu → Configuring Mu Editor to Work with the SAM32

  3. Confirm Mu is set up properly by starting Mu and selecting "CircuitPython" when prompted for the mode (as shown)

    https://s3-us-west-2.amazonaws.com/secure.notion-static.com/9c5a1ee7-bc6c-4b5e-9c4e-d60410ae19fe/Untitled.png

    Plug your SAM32 into the computer via the micro USB port and select the "Serial" button along the top bar. You should now see something similar to the image below. If you get an error, ensure you followed step #2 above.

    https://s3-us-west-2.amazonaws.com/secure.notion-static.com/67944611-a07f-49e8-bfef-b5db9d79ad7f/Untitled.png

    Click inside the "CircuitPython" REPL box and press CTRL + C on your keyboard. You should now see something similar to...

    https://s3-us-west-2.amazonaws.com/secure.notion-static.com/d1662c38-614f-42fb-80d8-3b218259abfb/Untitled.png

    🎉 congratulations! Mu is now successfully installed and configured.

🏁 proceed to Common SAM32 Workflow to develop a feel for writing and debugging CircuitPython code