Code Monkey home page Code Monkey logo

pxt-cbfbgps's Introduction

Screenshot

CBFBGPS

makecode gps grove package for micro:bit auteurs : Mme BOHN et M. BOSSAERT juillet 2019

Add extension

Ouvrir votre projet microbit makecode , dans Extension, coller

https://github.com/sntlpdn/pxt-CBFBGps

dans rechercher.

Usage de base

let tt = ""
CBFBGPS.initGPS(SerialPin.P16)
basic.forever(function () {
    tt = CBFBGPS.readGPS(sendUSB.True)
    
})

API

  • initGPS(RX: SerialPin)
    Initial le port serie avec le pin 16 en entrée et le port USB en sortie avec un débit de 9600 bits par seconde

  • readGPS(envoiUSB: sendUSB)
    envoiUSB prend deux valeurs soir vraie, soir faux si la valeur est vraie alors les trame du gps sont redirigées vers l'usb sinon la fonction renvoie une chaine de caractère comportant une trame ou une chaine vide si problème de reception

  • recupLatLong(trame: string): number[] Recupère la latitude et longitude des trame GPGGA en renvoyant une liste des deux valeurs ou une liste vide sinon

License

MIT

Copyright (c) 2019, microbit/micropython

Supported targets

  • for PXT/microbit

[From microbit LPDN]

pxt-cbfbgps's People

Contributors

sntlpdn avatar acastanet avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.