Skip to content

Repository files navigation

picozero

Latest VersionDocs

A beginner-friendly library to help you use common electronics components with the Raspberry Pi Pico.

frompicozeroimportLED, Buttonled=LED(1)
button=Button(2)
button.when_pressed=led.onbutton.when_released=led.off

Status

Beta. There will be bugs and issues. API changes are likely. More devices will be added over time.

Documentation

Documentation is available at picozero.readthedocs.io:

Code

The code and project is at github.com/RaspberryPiFoundation/picozero.

Issues can be raised at github.com/RaspberryPiFoundation/picozero/issues (see Contributing).

The latest distribution is available at pypi.org/project/picozero/.

Thanks

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

Code of conduct

Contributing

Stars

139 stars

Watchers

15 watching

Forks

Releases

Packages

Used by

Contributors

Languages