{"id":19012656,"url":"https://github.com/naguissa/esp_interupt_test","last_synced_at":"2026-05-04T09:34:39.588Z","repository":{"id":93928613,"uuid":"344051905","full_name":"Naguissa/ESP_INTERUPT_TEST","owner":"Naguissa","description":"This Arduino sketch implements properly a simple pin change interrupt on any ESP microcontroller (ESP8266 and ESP32).","archived":false,"fork":false,"pushed_at":"2021-03-03T08:33:24.000Z","size":5,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-21T15:54:20.302Z","etag":null,"topics":["arduino","esp","esp-microcontroller","esp32","esp8266","interrupt","interrupts","naguissa"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Naguissa.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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,"publiccode":null,"codemeta":null},"funding":{"github":"Naguissa","custom":"https://www.paypal.me/foroelectro"}},"created_at":"2021-03-03T08:17:48.000Z","updated_at":"2023-10-06T18:11:11.000Z","dependencies_parsed_at":"2023-05-06T10:48:13.333Z","dependency_job_id":null,"html_url":"https://github.com/Naguissa/ESP_INTERUPT_TEST","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Naguissa/ESP_INTERUPT_TEST","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Naguissa%2FESP_INTERUPT_TEST","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Naguissa%2FESP_INTERUPT_TEST/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Naguissa%2FESP_INTERUPT_TEST/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Naguissa%2FESP_INTERUPT_TEST/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Naguissa","download_url":"https://codeload.github.com/Naguissa/ESP_INTERUPT_TEST/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Naguissa%2FESP_INTERUPT_TEST/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32601612,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T22:12:39.696Z","status":"online","status_checked_at":"2026-05-04T02:00:06.625Z","response_time":58,"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":["arduino","esp","esp-microcontroller","esp32","esp8266","interrupt","interrupts","naguissa"],"created_at":"2024-11-08T19:19:02.937Z","updated_at":"2026-05-04T09:34:39.567Z","avatar_url":"https://github.com/Naguissa.png","language":"C++","funding_links":["https://github.com/sponsors/Naguissa","https://www.paypal.me/foroelectro","https://paypal.me/foroelectro"],"categories":[],"sub_categories":[],"readme":"## ESP8266 and ESP pin interrupt example ##\n\nThis Arduino sketch implements properly a simple pin change interrupt on any ESP microcontroller (ESP8266 and ESP32).\n\nNote that it's not using any debouncing, for buttons it's better to use any dedicated library. It's only a correct implementation example.\n\n\n### Configuration ###\n\nYou can change test pin changing BUTTON_PIN define.\n\nIt's configured as INPUT_PULLUP, so to trigger it you have to connect it to ground.\n\n\n### Compilation ###\n\nYou can compile the sketch using Arduino IDE with ESP8266 or ESP32 support.\n\n\n### Usage ###\n\nInput pin is configured as INPUT_PULLUP, so to trigger it you have to connect it to ground.\n\nIt will differentiate between short and long press (\u003e 1s pressed).\n\n\n\n### Hardware ###\n\nNo extra hardware is needed, except for power supply and a cable to connect input pin to GND.\n\n\n## Who do I talk to? ##\n\n * [Naguissa](https://github.com/Naguissa)\n * https://www.foroelectro.net/electronica-digital-microcontroladores-f8/sencillo-ejemplo-de-manejo-de-interrupciones-en-ar-t418.html\n * https://www.naguissa.com\n\n\n\n## Contribute ##\n\nAny code contribution, report or comment are always welcome. Don't hesitate to use GitHub for that.\n\n\n * You can sponsor this project using GitHub's Sponsor button: https://github.com/Naguissa/ESP_INTERUPT_TEST\n * You can make a donation via PayPal: https://paypal.me/foroelectro\n\n\nThanks for your support.\n\n\nContributors hall of fame: https://www.foroelectro.net/hall-of-fame-f32/contributors-contribuyentes-t271.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnaguissa%2Fesp_interupt_test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnaguissa%2Fesp_interupt_test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnaguissa%2Fesp_interupt_test/lists"}