{"id":21519890,"url":"https://github.com/electroniccats/pxt-gps","last_synced_at":"2025-03-17T17:14:27.987Z","repository":{"id":73402471,"uuid":"163793854","full_name":"ElectronicCats/pxt-gps","owner":"ElectronicCats","description":"MakeCode package for GPS - beta","archived":false,"fork":false,"pushed_at":"2020-07-06T17:27:43.000Z","size":239,"stargazers_count":1,"open_issues_count":2,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-24T04:39:54.540Z","etag":null,"topics":["gps","gps-location","l80","makecode","makecode-extension","pxt","pxt-maker"],"latest_commit_sha":null,"homepage":"","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/ElectronicCats.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":"2019-01-02T04:26:16.000Z","updated_at":"2022-06-26T16:13:25.000Z","dependencies_parsed_at":"2023-06-15T15:15:16.436Z","dependency_job_id":null,"html_url":"https://github.com/ElectronicCats/pxt-gps","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ElectronicCats%2Fpxt-gps","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ElectronicCats%2Fpxt-gps/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ElectronicCats%2Fpxt-gps/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ElectronicCats%2Fpxt-gps/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ElectronicCats","download_url":"https://codeload.github.com/ElectronicCats/pxt-gps/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244075635,"owners_count":20393979,"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":["gps","gps-location","l80","makecode","makecode-extension","pxt","pxt-maker"],"created_at":"2024-11-24T01:00:41.078Z","updated_at":"2025-03-17T17:14:27.964Z","avatar_url":"https://github.com/ElectronicCats.png","language":"TypeScript","funding_links":["https://github.com/sponsors/ElectronicCats"],"categories":[],"sub_categories":[],"readme":"\u003ca href=\"https://github.com/sponsors/ElectronicCats\"\u003e\n  \u003cimg src=\"https://electroniccats.com/wp-content/uploads/2020/07/Badge_GHS.png\" height=\"104\" /\u003e\n\u003c/a\u003e\n\n# GPS\n[![Build Status](https://travis-ci.org/ElectronicCats/pxt-gps.svg?branch=master)](https://travis-ci.org/ElectronicCats/pxt-gps) \n\n\nThis package adds functionality to the GPS breakout.\n\nThis is the Electronic Cats GPS makecode extension. Tested and works great with the L80 GPS module using MTK33x9 chipset\n\nThese modules use TTL serial to communicate, 2 pins are required to interface\n\nElectronic Cats invests time and resources providing this open source design, please support Electronic Cats and open-source hardware by purchasing products from Electronic Cats!\n\n## Usage\n```\nforever(function () {\n    gps.encode()\n    console.logValue(\"longitud\", gps.longitude())\n    console.logValue(\"latitud\", gps.latitude())\n    console.logValue(\"altura\", gps.altitude())\n    console.log(gps.DateTime())\n})\n```\n\n## API\n\n- `function encode()` : encode sentence Nmea GPS  \n\n- `function latitude()` : return latitude.\n\n- `function longitude():` return longitude\n\n- `function altitude()`: return altitude in meters.\n\n- `function Date Time()`: return date and time UTC.\n\n\n## License\n\nMIT\n\nCopyright (c) 2019, Electronic Cats  \n\n## Maintainer\n\n[Electronic Cats](https://github.com/ElectronicCats) invests time and resources providing this open source design, please support Electronic Cats and open-source hardware by purchasing products from Electronic Cats!\n\n## Supported targets\n\n* for PXT/maker\n* for PXT/micro:bit (not tested)\n\n```package\ngps\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felectroniccats%2Fpxt-gps","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felectroniccats%2Fpxt-gps","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felectroniccats%2Fpxt-gps/lists"}