Skip to content

RaspberryPiFoundation/picozero

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

picozero

Latest Version Docs

A beginner-friendly library for using common electronics components with the Raspberry Pi Pico.

from picozero import LED, Button

led = LED(1)
button = Button(2)

while True:
    if button.is_pressed:
        led.on()
    else:
        led.off()

Status

Beta. There will be bugs and issues. API changes are likely.

Documentation is available at picozero.readthedocs.io :

Notes

picozero is inspired by gpiozero (and reuses some of its underlying structure), but is by design lighter weight and aligned with the Raspberry Pi Pico. Thank you to everyone who has contributed to the gpiozero project.

About

A beginner-friendly library for using common electronics components with the Raspberry Pi Pico.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Contributors 9

Languages