{"id":26871168,"url":"https://github.com/codeadamca/ev3-infrared-distance","last_synced_at":"2025-03-31T07:18:40.692Z","repository":{"id":46319145,"uuid":"281540964","full_name":"codeadamca/ev3-infrared-distance","owner":"codeadamca","description":"A basic example of using Python with the LEGO EV3 infrared sensor to measure distance.","archived":false,"fork":false,"pushed_at":"2025-01-26T22:19:02.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-26T23:20:34.715Z","etag":null,"topics":["ev3","ev3dev","lego","python"],"latest_commit_sha":null,"homepage":"","language":"Python","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/codeadamca.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}},"created_at":"2020-07-22T01:14:28.000Z","updated_at":"2025-01-26T22:19:05.000Z","dependencies_parsed_at":"2025-01-26T23:29:40.135Z","dependency_job_id":null,"html_url":"https://github.com/codeadamca/ev3-infrared-distance","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeadamca%2Fev3-infrared-distance","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeadamca%2Fev3-infrared-distance/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeadamca%2Fev3-infrared-distance/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeadamca%2Fev3-infrared-distance/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codeadamca","download_url":"https://codeload.github.com/codeadamca/ev3-infrared-distance/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246429487,"owners_count":20775809,"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":["ev3","ev3dev","lego","python"],"created_at":"2025-03-31T07:18:40.123Z","updated_at":"2025-03-31T07:18:40.686Z","avatar_url":"https://github.com/codeadamca.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LEGO® Mindstorms® EV3 and the Infrared Sensor\n\nA Python snippet utilizing the LEGO EV3 infrared sensor, the LEGO EV3 Brick and [Pybricks](https://pybricks.com/). [Pybricks](https://pybricks.com/) is the LEGO recommended method of using the LEGO EV3 Brick with Python. See the official [Python for EV3](https://education.lego.com/en-us/support/mindstorms-ev3/python-for-ev3) LEGO page for more details.\n\nThis example uses the EV3 infrared sensor to measure the distance of an object in front of the sensor. This example will move both motors forward until something is blocking it's path.\n\n***\n\n## Repo Resources\n\n- [Pybricks - Documentation](https://docs.pybricks.com/en/latest/ev3devices.html)\n\n\u003cbr\u003e\n\u003ca href=\"https://codeadam.ca\"\u003e\n\u003cimg src=\"https://cdn.codeadam.ca/images@1.0.0/codeadam-logo-coloured-horizontal.png\" width=\"200\"\u003e\n\u003c/a\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeadamca%2Fev3-infrared-distance","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodeadamca%2Fev3-infrared-distance","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeadamca%2Fev3-infrared-distance/lists"}