{"id":40332641,"url":"https://github.com/elecfreaks/pxt-planetx","last_synced_at":"2026-04-27T12:01:05.984Z","repository":{"id":45102272,"uuid":"255320611","full_name":"elecfreaks/pxt-PlanetX","owner":"elecfreaks","description":"(行星X)The micro:bit new sensor series PlanetX with RJ11 connection port by ELECFREAKS Co.ltd","archived":false,"fork":false,"pushed_at":"2026-02-03T08:40:12.000Z","size":1047,"stargazers_count":5,"open_issues_count":0,"forks_count":14,"subscribers_count":3,"default_branch":"master","last_synced_at":"2026-04-23T07:34:55.774Z","etag":null,"topics":["elecfreaks","makecode","microbit","planetx","pxt"],"latest_commit_sha":null,"homepage":"https://elecfreaks.github.io/pxt-PlanetX/","language":"TypeScript","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/elecfreaks.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2020-04-13T12:31:25.000Z","updated_at":"2026-02-22T13:40:56.000Z","dependencies_parsed_at":"2024-07-31T07:59:27.824Z","dependency_job_id":"71da4abb-91de-462e-a8d9-7fe8051abfbe","html_url":"https://github.com/elecfreaks/pxt-PlanetX","commit_stats":null,"previous_names":[],"tags_count":242,"template":false,"template_full_name":null,"purl":"pkg:github/elecfreaks/pxt-PlanetX","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elecfreaks%2Fpxt-PlanetX","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elecfreaks%2Fpxt-PlanetX/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elecfreaks%2Fpxt-PlanetX/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elecfreaks%2Fpxt-PlanetX/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/elecfreaks","download_url":"https://codeload.github.com/elecfreaks/pxt-PlanetX/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elecfreaks%2Fpxt-PlanetX/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32335297,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T23:26:28.701Z","status":"online","status_checked_at":"2026-04-27T02:00:06.769Z","response_time":128,"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":["elecfreaks","makecode","microbit","planetx","pxt"],"created_at":"2026-01-20T08:07:33.724Z","updated_at":"2026-04-27T12:01:05.972Z","avatar_url":"https://github.com/elecfreaks.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![](https://img.shields.io/badge/Platform-micro%3Abit-red) ![](https://img.shields.io/travis/com/elecfreaks/pxt-PlanetX) ![](https://img.shields.io/github/v/release/elecfreaks/pxt-PlanetX) ![](https://img.shields.io/github/last-commit/elecfreaks/pxt-PlanetX) ![](https://img.shields.io/github/languages/top/elecfreaks/pxt-PlanetX) ![](https://img.shields.io/github/issues/elecfreaks/pxt-PlanetX) ![](https://img.shields.io/github/license/elecfreaks/pxt-PlanetX) \n\n# PlanetX Package\n\n![](/PlanetX.png/)\n\nThis extension is designed to programme and drive the sensor series PlanetX(行星X) micro:bit expansion sensor, You can [get PlanetX from the Elecfreaks store](https://www.elecfreaks.com/)\n\n## Code Example\n```JavaScript\n\nbasic.forever(function () {\n    PlanetX.showUserText(1, \"Temp:\" + PlanetX.octopus_BME280(PlanetX.BME280_state.BME280_temperature_C))\n    PlanetX.showUserText(2, \"Distance:\" + PlanetX.Ultrasoundsensor(PlanetX.DigitalRJPin.J1, PlanetX.Distance_Unit_List.Distance_Unit_cm))\n    if (PlanetX.buttonAB(PlanetX.DigitalRJPin.J1, PlanetX.ButtonStateList.A)) {\n        PlanetX.motorfan(PlanetX.AnalogRJPin.J1, true, 80)\n    }\n})\n\n\n```\n## Supported targets\n\n* for PXT/microbit\n\n## License\nMIT\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felecfreaks%2Fpxt-planetx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felecfreaks%2Fpxt-planetx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felecfreaks%2Fpxt-planetx/lists"}