GPS driver
Dependents: GEO_CONTROL_REPO_F411RE GPS_GSM
Fork of GPS by
GPS Class Reference
A GPS interface for reading from a Globalsat EM-406 GPS Module. More...
#include <GPS.h>
Public Member Functions | |
| GPS (PinName tx, PinName rx) | |
| Create the GPS interface, connected to the specified serial port. | |
| int | sample () |
| Sample the incoming GPS data, returning whether there is a lock. | |
Data Fields | |
| float | longitude |
| The longitude (call sample() to set) | |
| float | latitude |
| The latitude (call sample() to set) | |
Detailed Description
A GPS interface for reading from a Globalsat EM-406 GPS Module.
Definition at line 29 of file GPS.h.
Constructor & Destructor Documentation
| GPS | ( | PinName | tx, |
| PinName | rx | ||
| ) |
Member Function Documentation
| int sample | ( | ) |
Field Documentation
Generated on Thu Jul 14 2022 13:46:58 by
1.7.2
