This program is a simple script to toggle a RGB light attached to a Raspberry Pi Pico, the schematics are described below. On pressing the button, the state switches between available (green) and busy (red)
- Hold boot button while pluggin the USB in
- Drag and drop iso [https://www.raspberrypi.com/documentation/microcontrollers/micropython.html](raspi docs)
use VSCode extension Pico-W-Go
- Connect to Raspi
- Run current file
- Upload current file (needs to be called
main.py
)
Pico SDK PDF: https://datasheets.raspberrypi.com/pico/raspberry-pi-pico-python-sdk.pdf
PICO PIN Layout: https://microcontrollerelectronics.com/wp-content/uploads/2021/07/Pico.png
PICO W PIN Layout: https://components101.com/sites/default/files/component_pin/Raspberry%20Pi-Pico-W-pinout.png
Reset Button: https://www.tomshardware.com/how-to/raspberry-pi-pico-reset-button