This repo contains the CircuitPython code (and vendor libraries) required to program the Xiao SAMD21 board as a mouse jiggler.
The main program lives in code.py
, while boot.py
is ran as part of the bootloader.
-
Get CircuitPython bootloader in DFU form: https://circuitpython.org/board/seeeduino_xiao/
Note: for some reason version 9.x is incompatible (wrong HID device). Probably not too hard to fix but for now use 8.2.4 (direct link)
-
Enter DFU mode and install CircuitPython: https://wiki.seeedstudio.com/Seeeduino-XIAO-CircuitPython/
-
Your computer should now see a CIRCUITPY external drive
-
Copy the code from this repo into the CIRCUITPY "drive"
- The code in
boot.py
disables the firmware storage device by default - If you want to enable it again, you have to touch pin 0 with your finger within 10 seconds after connecting the device: