PMODGPS Update Rate from 1 to 10 Hz

-dev:
Some devices will not allow you to set an update rate that is too high for the baud rate. Try setting the GPS baud rate to 19200 or 38400:

  gps.send_P( &gpsPort, F("PMTK314,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0") ); // RMC_GGA

delay( 100 );
  gps.send_P( &gpsPort, F("PGCMD,33,0") );  // No antenna status messages needed
  delay( 100 );
  gps.send_P( &gps_port, F("PMTK251,19200") );  // set baud rate
  gps_port.flush();                              // wait for the command to go out
  delay( 100 );                                  // wait for the GPS device to change speeds
  gps_port.end();                                // empty the input buffer, too
  gps_port.begin( 19200 );                      // use the new baud rate

gps.send_P( &gps_port, F("PMTK220,200") );    // set the GPS update interval





(Excerpt from [this thread](http://forum.arduino.cc/index.php?topic=515350.msg3516862#msg3516862))

Thanks for the reply. Could you please help me understand this a bit more? I just got to work so I'll try using the code, but kind of unsure where to put it and what PMTK and other stuff is doing.

el_supremo:
Have you read the Digilent datasheet?
Pete

Yeah, I saw this but I couldn't make sense out of it. Could you please explain a bit as to how its supposed to work?

High Regards