{"id":31160179,"url":"https://github.com/felipegtralli/esp-button","last_synced_at":"2026-05-18T02:10:28.249Z","repository":{"id":314644987,"uuid":"1044362169","full_name":"felipegtralli/esp-button","owner":"felipegtralli","description":null,"archived":false,"fork":false,"pushed_at":"2025-09-13T18:44:38.000Z","size":23,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-09-13T20:38:32.179Z","etag":null,"topics":["button","driver","esp-idf","esp32"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/felipegtralli.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-08-25T15:10:02.000Z","updated_at":"2025-09-13T18:43:23.000Z","dependencies_parsed_at":"2025-09-13T20:38:34.967Z","dependency_job_id":"44332f82-fa33-4b4d-a974-f81a948dff0b","html_url":"https://github.com/felipegtralli/esp-button","commit_stats":null,"previous_names":["felipegtralli/esp-button"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/felipegtralli/esp-button","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felipegtralli%2Fesp-button","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felipegtralli%2Fesp-button/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felipegtralli%2Fesp-button/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felipegtralli%2Fesp-button/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/felipegtralli","download_url":"https://codeload.github.com/felipegtralli/esp-button/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felipegtralli%2Fesp-button/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33162448,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-17T22:39:12.733Z","status":"online","status_checked_at":"2026-05-18T02:00:06.436Z","response_time":71,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["button","driver","esp-idf","esp32"],"created_at":"2025-09-19T02:16:38.127Z","updated_at":"2026-05-18T02:10:28.199Z","avatar_url":"https://github.com/felipegtralli.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Button Component for ESP-IDF\nFreeRTOS-based button driver for ESP32, designed to handle GPIO button presses with:\n- **Debounce filtering**\n- **ISR support**\n- **Callback mechanisms**\n\n## Features\n- **Debounce Filtering**: Configurable debounce time to prevent false triggers.\n- **Interrupt Handling**: Efficient ISR-based button event detectio\n- **Callbacks**: User-defined callbacks for button press/release events.\n- **Flexible GPIO Configuration**: Supports pull-up, pull-down, or floating pins.\n- **FreeRTOS Integration**: Handles button events via a dedicated FreeRTOS task and queue.\n\n## How to Use\n### Hardware\n- **ESP32 Board**: Any ESP32-based development board.\n- **Button**: Any Button.\n\n### Connection Diagram\n\n#### Basic Button Connection (Most Common)\n```\nESP32 GPIO ── Button ── GND\n     │\n  Pull-up (internal)\n```\n\n#### Using BOOT Button\n```\nJust press the BOOT button on your ESP32 board!\nNo additional wiring required.\n```\n\n### Getting Started\n1. Install ESP-IDF\u003cbr\u003e\n Follow the ESP-IDF installation guide for your operating system.  \n2. Clone the Repository\n   ```sh\n    git clone https://github.com/felipegtralli/esp-button.git\n    ```\n3. Add esp-button as a Component\u003cbr\u003e\n Include the esp-button library in your ESP-IDF project by placing it in the components directory or by linking it via an idf_component.yml.\n4. Reconfigure\n   ```sh\n   idf.py reconfigure\n   ```\n5. Build and Flash\n    ```sh\n    idf.py build flash\n    ```\n    \n## Testing Component\n1. Run Example Code\u003cbr\u003e\n Flash and monitor any example provided in the examples folder.\n    ```sh\n    idf.py build flash monitor\n    ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffelipegtralli%2Fesp-button","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffelipegtralli%2Fesp-button","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffelipegtralli%2Fesp-button/lists"}