Read only latitude and longitude of GPS sensor connected to serial port of FiPy
How to ready only the latitude and longitude of NEO-6M GPS sensor connected to the serial port of the FiPy (P4,P3) pins. Right now we have connected NEO-6M GPS sensor to FiPy (P4,P3) pins and directly reading the uart pin using uart.readall(), which is reading the whole NMEA data of GPS sensor which we don't want. We need only to read latitude and longitude of NEO-6M GPS sensor.
How to do it?? Please share the code of the same.
We are unable to add micropyGPS libraries in fipy board.
How to add these libraries in Fipy board and how to read and write the Latitude and Longitude of the GPS in Fipy board
Just parse the NMEA line and extract the information you need.
There are also NMEA parser available for MicroPython if you don't want to do it yourself. For example: https://github.com/inmcm/micropyGPS