Welcome To CircuitPython Tutorial
Follow the general guide on Circuit Python.
- Find your board and download
- Connect your board with a data cable.
- You may need to double click the reset button to bring up the boot loader.
- A new disk should appear.
- Copy the
.uf2file to the disk. This will cause the disk to unmount. - In a little while, a new disk will appear 'CIRCUITPYTHON'
- On that disk:
code.pyis the code that will be runlibcontains librariessettings.tomlis used to load environment variables
CircuitPython API Reference
uv add circup
# Install all imported modules
circup install --auto
# specific
circup install adafruit_thermal_printer
circup uninstall adafruit_thermal_printer
# update:
circup update
screen <tty> 115200
help("modules") to list installed modules
Install Blinka
for Bluetooth, use bleak
Add user to bluetooth group:
sudo usermod -aG bluetooth pi