Skip to main content

0.2.0

Project description

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)

pimoroni rgb keypad

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pico-rbgkeypad-0.2.0.tar.gz (5.5 kB view details)

Uploaded Source

File details

Details for the file pico-rbgkeypad-0.2.0.tar.gz.

File metadata

  • Download URL: pico-rbgkeypad-0.2.0.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for pico-rbgkeypad-0.2.0.tar.gz
Algorithm Hash digest
SHA256 357c3962ee7efe0a06817e5eb35f13b30efa53da5fe7a93a83ff4f63749e4b1c
MD5 e16b6b7b15ff275e51f50bdfb024bbb2
BLAKE2b-256 634e3e086714326f08f639e051253f6fa31d39569c90cf88ac44ba700653ae13

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page