Skip to content
/ pi-pico Public

A collection of MicroPython scripts for the Raspberry Pi Pico microcontroller.

License

Notifications You must be signed in to change notification settings

RPiSpy/pi-pico

Folders and files

NameName
Last commit message
Last commit date

Latest commit

f55d075 · Dec 4, 2024

History

20 Commits
Dec 4, 2024
Dec 13, 2022
Feb 23, 2024
Dec 22, 2022
Dec 11, 2022
Mar 6, 2024
Dec 19, 2022
Dec 22, 2022
Dec 11, 2022
Nov 29, 2022
Feb 22, 2024
Dec 19, 2022
Dec 22, 2022
Dec 11, 2022
Dec 12, 2022

Repository files navigation

pi-pico

This repository contains scripts relating to the Raspberry Pi Pico and Pi Pico W. They are most likely to be written in MicroPython. They assume you have a working Pico and are familiar with uploading and running scripts on it.

MicroPython Scripts

Here is a full list of scripts with any relevant details. Each script also contains comments at the top of the file. These scripts were tested using Thonny.

blink.py

This script blinks the on-board LED. It doesn't require any additional hardware.

led.py

This script turns an LED on and off.

led-pwm.py

This script controls the brightness

police-lights.py

This script flashes two neopixels in a police style pattern. It requires two neopixels to be connected to a GPIO pin, The pin number can be defined in the script.

potentiometer.py

This script uses a potentiometer to feed an ADC channel with 0-3.3V and print the percentage.

potentiometer-led.py

This script uses a potentiometer to define the brightness level of an LED using PWM.

servo-test.py

This script operates a standard servo between the defined

Bash Scripts

picopins.sh

A script which displays the Pico pinout on the command line. The script can be copied to /bin which allows you to display the pinout whenever you type the command "picopins".

About

A collection of MicroPython scripts for the Raspberry Pi Pico microcontroller.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published