{"id":20429999,"url":"https://github.com/PerfecXX/MicroPython-SimpleKeypad","last_synced_at":"2025-05-08T17:32:40.302Z","repository":{"id":221266057,"uuid":"753904916","full_name":"PerfecXX/MicroPython-SimpleKeypad","owner":"PerfecXX","description":"MicroPython library for interfacing with a keypad matrix","archived":false,"fork":false,"pushed_at":"2024-02-07T02:48:37.000Z","size":125,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-15T18:40:19.034Z","etag":null,"topics":["4x4-keypad","esp32","keypad","keypad-matrix","micropython","micropython-esp32"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/micropython-simple-keypad/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PerfecXX.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2024-02-07T02:18:10.000Z","updated_at":"2024-02-09T05:35:57.000Z","dependencies_parsed_at":"2024-02-14T01:32:26.454Z","dependency_job_id":null,"html_url":"https://github.com/PerfecXX/MicroPython-SimpleKeypad","commit_stats":null,"previous_names":["perfecxx/micropython-simplekeypad"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PerfecXX%2FMicroPython-SimpleKeypad","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PerfecXX%2FMicroPython-SimpleKeypad/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PerfecXX%2FMicroPython-SimpleKeypad/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PerfecXX%2FMicroPython-SimpleKeypad/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PerfecXX","download_url":"https://codeload.github.com/PerfecXX/MicroPython-SimpleKeypad/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224641705,"owners_count":17345365,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["4x4-keypad","esp32","keypad","keypad-matrix","micropython","micropython-esp32"],"created_at":"2024-11-15T08:01:19.935Z","updated_at":"2024-11-15T08:02:34.892Z","avatar_url":"https://github.com/PerfecXX.png","language":"Python","readme":"# MicroPython Simple Keypad\n\n![MicroPython](https://img.shields.io/badge/MicroPython-Ready-brightgreen.svg)\n[![License](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)\n\nMicroPython library for interfacing with a keypad matrix\n\n![](https://github.com/PerfecXX/MicroPython-SimpleKeypad/blob/main/doc/4x4keypad.png)\n\n## Feature \n\n- Supports any keypad matrix configuration.\n- Easily customizable for different keypad layouts.\n- Provides exception handling for error management.\n\n## Example Usage \n\nExample for 4x4 keypad metrix on MicroPython esp32. \n\n```python\nfrom machine import Pin\nfrom keypad import Keypad\nfrom time import sleep\n\n# Define GPIO pins for rows\nrow_pins = [Pin(25),Pin(26),Pin(27),Pin(14)]\n\n# Define GPIO pins for columns\ncolumn_pins = [Pin(23),Pin(22),Pin(19),Pin(18)]\n\n# Define keypad layout\nkeys = [\n    ['1', '2', '3', 'A'],\n    ['4', '5', '6', 'B'],\n    ['7', '8', '9', 'C'],\n    ['*', '0', '#', 'D']]\n\nkeypad = Keypad(row_pins, column_pins, keys)\n\nwhile True:\n    key_pressed = keypad.read_keypad()\n    if key_pressed:\n        print(\"Key pressed:\", key_pressed)\n    sleep(0.1)  # debounce and delay\n```\n\n","funding_links":[],"categories":["Libraries"],"sub_categories":["IO"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPerfecXX%2FMicroPython-SimpleKeypad","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FPerfecXX%2FMicroPython-SimpleKeypad","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPerfecXX%2FMicroPython-SimpleKeypad/lists"}