A Python class for controlling the Pimoroni RGB Keypad for the Raspberry Pi Pico.
Compatible with MicroPython and CircuitPython.
keypad = RGBKeypad()
# make all the keys red
keypad.color = (255, 0, 0)
# turn a key blue when pressed
while True:
for key in keypad.keys:
if key.is_pressed():
key.color = (0, 0, 255)
Metadata
Release files for pico-rbgkeypad 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pico-rbgkeypad-0.2.0.tar.gz | 5.5 kB | Details |
Release files / pico-rbgkeypad-0.2.0.tar.gz
| Download URL | pico-rbgkeypad-0.2.0.tar.gz |
|---|---|
| Size | 5.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
357c3962ee7efe0a06817e5eb35f13b30efa53da5fe7a93a83ff4f63749e4b1c
|
|
BLAKE2b-256 checksum How to use checksums |
634e3e086714326f08f639e051253f6fa31d39569c90cf88ac44ba700653ae13
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.23.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.8.2
|