Hello everyone, I've been trying to make a project with arduino nano and Neo6 GPS sensor for a long time.
I need to get the speed written on oled screen, but the refresh rate is slow.
So I'm trying to enable only the VTG string inside the NMEAGPS_cfg.h file
//#define NMEAGPS_PARSE_GGA
//#define NMEAGPS_PARSE_GLL
//#define NMEAGPS_PARSE_GSA
//#define NMEAGPS_PARSE_GSV
//#define NMEAGPS_PARSE_GST
//#define NMEAGPS_PARSE_RMC
#define NMEAGPS_PARSE_VTG
//#define NMEAGPS_PARSE_ZDA'''
then defining the following
#define LAST_SENTENCE_IN_INTERVAL NMEAGPS::NMEA_VTG
recalling with
while (gps.available( gpsPort )) {
fix = gps.read();
}
if (fix.valid.speed) {
Speedgps = (fix.speed_kph());
once the code has been reloaded on the arduino, however, the update speed does not change.
Can you please help me understand.