Search wiring.org.co:

Libraries \ NMEA

Reference for Wiring version 1.0 Build 0100+ If you have a previous version, use the reference included with your software. If see any errors or have any comments, let us know.

Class | NMEA
Name |

### term_decimal()

Description | Returns decimal value of a specific term from the last sentence that was received. For example, if the last sentence received was `$GPRMC,082804.683,A,5205.9421,N,00506.4368,E,0.02,146.61,190408,,*0C` then gps.term_decimal(1) returns floating-point value 82804.683. Note that the terms are numbered starting with zero. If the connection type is NMEA(ALL), all sentence types are received. If the connection type is NMEA(GPRMC), only sentences of type GPRMC are received.
Syntax |
    term_decimal(num)
Parameters |

num | int

Returns | float
Usage | Application

Updated on July 07, 2011 11:11:13pm PDT