{"id":22449413,"url":"https://github.com/eugenedakin/lgpio-inputbutton","last_synced_at":"2025-10-04T14:11:38.660Z","repository":{"id":179441891,"uuid":"663502627","full_name":"eugenedakin/lgpio-InputButton","owner":"eugenedakin","description":"Project with lgpio library with the Raspberry Pi to accept an input signal from a physical switch.","archived":false,"fork":false,"pushed_at":"2024-10-17T17:48:30.000Z","size":2756,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-19T03:39:14.637Z","etag":null,"topics":["electronics","gpio","input","lgpio","raspberry-pi","raspberrypi","xojo"],"latest_commit_sha":null,"homepage":"","language":"Xojo","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/eugenedakin.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,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-07-07T12:50:23.000Z","updated_at":"2024-10-17T17:48:34.000Z","dependencies_parsed_at":"2025-06-19T03:32:01.032Z","dependency_job_id":"c6aba0b3-a706-4f47-a909-de3039045b5e","html_url":"https://github.com/eugenedakin/lgpio-InputButton","commit_stats":null,"previous_names":["eugenedakin/lgpio-inputbutton"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/eugenedakin/lgpio-InputButton","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eugenedakin%2Flgpio-InputButton","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eugenedakin%2Flgpio-InputButton/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eugenedakin%2Flgpio-InputButton/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eugenedakin%2Flgpio-InputButton/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eugenedakin","download_url":"https://codeload.github.com/eugenedakin/lgpio-InputButton/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eugenedakin%2Flgpio-InputButton/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278322146,"owners_count":25967874,"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","status":"online","status_checked_at":"2025-10-04T02:00:05.491Z","response_time":63,"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":["electronics","gpio","input","lgpio","raspberry-pi","raspberrypi","xojo"],"created_at":"2024-12-06T05:09:06.379Z","updated_at":"2025-10-04T14:11:38.645Z","avatar_url":"https://github.com/eugenedakin.png","language":"Xojo","funding_links":[],"categories":[],"sub_categories":[],"readme":"# lgpio-InputButton\nProject with lgpio library with the Raspberry Pi to accept an input signal from a physical switch.\n\nThis example uses the latest and most compatible library for the Raspberry Pi in Xojo 2023 r1.1. The Xojo library can be downloaded for free at: https://github.com/eugenedakin/lgpio-GPIO. This is a lgpio local library that is a replacement for the deprecated sysfs library that\nis to be used with Xojo apps. This library uses local c language calls, which means updates should be minimal and your code should be stable for a very long time. \n\n![](https://github.com/eugenedakin/lgpio-InputButton/blob/main/LibGPIODInputScreenGrab.png)\n\nBelow is an electrical schematic for the input button project.\n\n![](https://github.com/eugenedakin/lgpio-InputButton/blob/main/InputSchematic.png)\n\nThe lgpio library can be installed Raspberry Pi OS (5 July 2023) and instructions \nare available at http://abyz.me.uk/lg/download.html\n\nInstall instructions are:\n1) sudo apt install swig python3-dev\n2) sudo apt install python3-setuptools\n3) sudo apt-get install libunwind8\n4) wget https://github.com/joan2937/lg/archive/master.zip\n5) unzip lg.zip\n6) cd lg\n7) make\n8) sudo make install\n9) create a Blink example program and copy the program and libraries to the RaspberryPi Desktop\n10) give the executable permission to run with something like: 'sudo chmod +x LibGPIODInput'\n11) run the program with something like: 'sudo ./LibGPIODInput'\n\nThis example project uses the lgpio libray and executes a loop to search for a signal from a physical button with an input electronic pin port on the Raspberry Pi.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feugenedakin%2Flgpio-inputbutton","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feugenedakin%2Flgpio-inputbutton","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feugenedakin%2Flgpio-inputbutton/lists"}