How to use NEOGPS library parsed the data which I get from SPI port


Welcome to the forum.

Install the TinyGPS library using the Arduino IDE library manager and have a look at the examples. The library is a pure parser. It does not depend on any GPS hardware. It decodes the messages you see on your screen. They are standardized according to NMEA 0183.

All you need to do is push each byte into the parser. Then retrieve the result.

TinyGPS++ works the same way. There is a slight difference in how you can confirm whether the data is valid. The examples are easy to understand.

The error is telling you that the varaible you defined, gpsStream, is read only.

So perhaps check the definition you made ..........................

const char gpsStream =0;

If a variable is declared "const" then its value cannot be changed.

Please use code tags to post code ("</>" button in the editor).

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.