Allows for a GPS module to be connected to a serial port and exposes an easy to use API to get the GPS data. New feature, added Mbed/LPC17xx RTC synchronisation

Dependents:   SatGPS AntiTheftGPS FLIGHT_CONTROL_AND_COMMUNICATIONS_SYSTEM GPS-Lora ... more

Embed: (wiki syntax)

« Back to documentation index

GPS_Time Class Reference

GPS_Time Class Reference

GPS_Time definition. More...

#include <GPS_Time.h>

Data Fields

int year
 The year.
int month
 The month.
int day
 The day.
int hour
 The hour.
int minute
 The minute.
int second
 The second.
int tenths
 Tenths of a second.
int hundreths
 Hundredths of a second.
char status
 Time status.
double velocity
 The velocity (in knots)
double track
 The track (in decimal degrees true)
char magvar_dir
 The magnetic variation direction.
double magvar
 The magnetic variation value.

Detailed Description

GPS_Time definition.

Definition at line 30 of file GPS_Time.h.


Field Documentation

int day

The day.

Definition at line 38 of file GPS_Time.h.

int hour

The hour.

Definition at line 40 of file GPS_Time.h.

int hundreths

Hundredths of a second.

Definition at line 48 of file GPS_Time.h.

double magvar

The magnetic variation value.

Definition at line 58 of file GPS_Time.h.

char magvar_dir

The magnetic variation direction.

Definition at line 56 of file GPS_Time.h.

int minute

The minute.

Definition at line 42 of file GPS_Time.h.

int month

The month.

Definition at line 36 of file GPS_Time.h.

int second

The second.

Definition at line 44 of file GPS_Time.h.

char status

Time status.

Definition at line 50 of file GPS_Time.h.

int tenths

Tenths of a second.

Definition at line 46 of file GPS_Time.h.

double track

The track (in decimal degrees true)

Definition at line 54 of file GPS_Time.h.

double velocity

The velocity (in knots)

Definition at line 52 of file GPS_Time.h.

int year

The year.

Definition at line 34 of file GPS_Time.h.