Skip to content

Line Follower Bot

Uploading the Code

The source code for this kit, plus a shared config.py, lives in src/kits/line-follower-bot/. To copy the whole kit onto the Pico in one step, run upload-code.sh from a terminal:

1
./upload-code.sh

Any single script can also be run directly from Thonny, or headlessly with:

1
mpremote connect /dev/cu.usbmodem101 run follow-line.py

(Your port name may differ — check what shows up when you plug in the Pico.)