Code Monkey home page Code Monkey logo

fugps's People

Contributors

fu-hsi avatar per1234 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

fugps's Issues

Reading Hours, Minutes, Seconds

Hi.
I'm creating a gps logger with the help of your library on Arduino UNO.

Everything works fine, but the lines
gps.Hours:gps.Minutes:gpsSeconds at the moment give me:
00:203:173

How could I convert these to normal, like
19:12:15

thank you

never reads date

hello,
i ma using your lovely library and i receive data with it, but i cant receive date information. Is there any reason why?

HardwareSerial library to use ?

Hi

I try to use your library on ESP32 but you advise to use HardwareSerial. What library should I use for it ? as Neowserial as indicated in readme is only software serial and not supported on ESP32 !

Thanks

Vincèn

Trouble using HardwareSerial with ESP32 (not a bug, need advice)

Hi

I am trying to use the library in an APRS project. This is on ESP32 hardware hence libraries are implemented for ESP32 not std Arduino boards.

I am having a hardtime passing the HardwareSerial object to the FuGPS constructor, this is not working since it is not a stream although is derived from one.

Definitions;
`HardwareSerial gpsSerial(1);

FuGPS fuGPS(gpsSerial);
`

Some of the errors I've getting are

"C:\Users\T520\Documents\Arduino\libraries\FuGPS_Library\src\FuGPS.cpp: In member function 'void FuGPS::sendCommand(const char*)':

C:\Users\T520\Documents\Arduino\libraries\FuGPS_Library\src\FuGPS.cpp:57:28: error: passing 'const Stream' as 'this' argument discards qualifiers [-fpermissive]

 _stream.println(command);"

and
"C:\Users\T520\Documents\Arduino\libraries\FuGPS_Library\src\FuGPS.cpp: In member function 'bool FuGPS::read()':

C:\Users\T520\Documents\Arduino\libraries\FuGPS_Library\src\FuGPS.cpp:122:27: error: passing 'const Stream' as 'this' argument discards qualifiers [-fpermissive]

 if (_stream.available())"

This is not a bug (I assume), but I note that in the examples it is recommended to use HardwareSerial hence my motivation to keep trying.

From your source it seems you are expecting a Stream object to be passed in the constructor, how can I do this and use a HardwareSerial lib?

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.