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.6.0.tar.gz (3.9 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: micropython-keypad-0.6.0.tar.gz
  • Upload date:
  • Size: 3.9 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.6.0.tar.gz
Algorithm Hash digest
SHA256 cb27e28a0d818f3ebeface441807f88823af2205959de578f7755119282230d2
MD5 6a338de6fd8b449bad58d1aed26007e4
BLAKE2b-256 1d8b498ef21b9b31285ef3ccdcda8328d35419f154522c8fbe72f79a89df215f

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