A beginner-friendly library for using common electronics components with the Raspberry Pi Pico.
Project description
A beginner-friendly library for using common electronics components with the Raspberry Pi Pico.
Roboticsware added some functionalities based on picozero of Raspberry Pi Foundation.'
from picozero import LED, Button
led = LED(1)
button = Button(2)
button.when_pressed = led.on
button.when_released = led.off
from picozero import I2cLcd
from time import sleep
lcd = I2cLcd(27, 26) # LCD 16x2, sda=27, scl=26
lcd.putstr('Hello World')
sleep(1)
lcd.move_to(0, 1)
lcd.putstr('Hello Roboticsware')
Documentation is available at picozero.readthedocs.io.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for picozero_rw-0.4.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea12f2aad241eaae61e93481186e0aac83fe57f872df4894040b69964d0c636e |
|
MD5 | 9245eb56fa08b19f7851a2f8d4ec60e4 |
|
BLAKE2b-256 | 7af503427e8efbef604d3dc3718ce1071b412842c4bdb98b1fd661d6de918ce4 |