{"id":16977396,"url":"https://github.com/mryslab/nanoconnecthcsr04","last_synced_at":"2025-04-14T22:55:59.328Z","repository":{"id":72328495,"uuid":"389128535","full_name":"MrYsLab/NanoConnectHcSr04","owner":"MrYsLab","description":"Arduino Nano RP2040 Connect PIO-based library for the HCSR04 Ultrasonic Distance Sensor.","archived":false,"fork":false,"pushed_at":"2022-03-13T21:04:37.000Z","size":18,"stargazers_count":6,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-14T22:55:52.601Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MrYsLab.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}},"created_at":"2021-07-24T15:11:14.000Z","updated_at":"2024-10-10T14:28:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"986175c2-efc8-490d-b5d3-102d9c087896","html_url":"https://github.com/MrYsLab/NanoConnectHcSr04","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrYsLab%2FNanoConnectHcSr04","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrYsLab%2FNanoConnectHcSr04/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrYsLab%2FNanoConnectHcSr04/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrYsLab%2FNanoConnectHcSr04/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MrYsLab","download_url":"https://codeload.github.com/MrYsLab/NanoConnectHcSr04/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248975330,"owners_count":21192208,"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":[],"created_at":"2024-10-14T01:28:52.103Z","updated_at":"2025-04-14T22:55:59.311Z","avatar_url":"https://github.com/MrYsLab.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NanoConnectHcSr04\n\n## An Arduino Nano RP2040 Connect library for HC-SR04 type ultrasonic distance sensors.\n\n## It is implemented using the RP2040 PIO processor.\n\nHere is a sample sketch that continuously reads and prints distances:\n\n```asm\n\n#include \u003cNanoConnectHcSr04.h\u003e\n\n// D11 (7) == trigger, D12 (4) == echo\n// Using pio0 and sm 0\nNanoConnectHcSr04 sonar(7,4, pio0, 0);\n\n// distance value returned\nfloat value = 0.0;\n\nvoid setup() {\n    Serial.begin(115200);\n\n}\n\nvoid loop() {\n    // put your main code here, to run repeatedly:\n    value = sonar.readSonar();\n    Serial.println(value);\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmryslab%2Fnanoconnecthcsr04","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmryslab%2Fnanoconnecthcsr04","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmryslab%2Fnanoconnecthcsr04/lists"}