GPS.getLastVTG()

This method gets GPS last VTG NMEA sentence stored.

It has no input parameter.

The return value is a Python string which is the last VTG NMEA sentence formatted according to NMEA specification.

Example:

 

vtg = GPS.getLastVTG()

 

gets last VTG NMEA sentence, assigning the return value to vtg.