Skip to main content

Keypad library generic matrix keypads

Project description

micropython-keypad

Implementation for matrix keyboards and keypads.

For now support 8 and 16bit i2c expanders based on PCF8574 and PCF8575

Contributions are welcome

TODO:

  • Do more generic class
  • Implement optional non-blocking reading (use interrupt if available)
  • Read expander state before write to preserve other pin states
  • Think about solution to support more keypads (5x4, 4x4, 3x4, invert etc...)
  • Implement more interfaces (SPI expander, direct GPIO, more I2C expanders)

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

micropython-keypad-0.4.1.tar.gz (3.4 kB view details)

Uploaded Source

File details

Details for the file micropython-keypad-0.4.1.tar.gz.

File metadata

  • Download URL: micropython-keypad-0.4.1.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for micropython-keypad-0.4.1.tar.gz
Algorithm Hash digest
SHA256 c50f205e6b561970725c13b72bebb4ca328ae14a8dc106761c9294db028e9ae4
MD5 072bca5c912452ea68d39a2e09c2e0ff
BLAKE2b-256 c89f8880d8ed87739445bca1ebdb8a5dce1b24955a5e3ac4295c5a76bec19cd5

See more details on using hashes here.

Supported by

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