Skip to main content

Project Based Engineering Instrumentation High Level Coding and Microcontrollers

Section 6.2 TL;DR / Extra Help for the CPX/CPB

  1. Plug in your CPX and double tap it to go into reset mode. CPLAYBOOT will mount to your computer. (Some CPXes you need to hold the button down instead of double tap).
  2. Download the UF2 file[30].
  3. Drag the UF2 file to your CPLAYBOOT drive. After a few seconds CIRCUITPY will mount.
  4. You need to then download Mu[57].
  5. Open Mu and make sure to select the mode Adafruit CircuitPython (or just CircuitPython if you have a new version)
  6. Open main.py (or code.py) in Mu from the CIRCUITPY drive in Mu. (It’s possible you have code.py on your drive instead of main.py which is fine. Just open one or the other)
  7. Copy the blink.py[33] script into main.py (or code.py)
  8. Once you have the script running, modify the script to run on your Desktop using Spyder or Thonny