Library for the EM-406 GPS module
Fork of GPS by
Diff: GPS.h
- Revision:
- 1:26b920d162f9
- Parent:
- 0:15611c7938a3
--- a/GPS.h Tue Jun 08 14:10:27 2010 +0000 +++ b/GPS.h Tue Nov 29 21:55:08 2016 +0000 @@ -19,16 +19,16 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ - + #include "mbed.h" - + #ifndef MBED_GPS_H #define MBED_GPS_H - + /** A GPS interface for reading from a Globalsat EM-406 GPS Module */ class GPS { public: - + /** Create the GPS interface, connected to the specified serial port */ GPS(PinName tx, PinName rx); @@ -41,7 +41,7 @@ /** The longitude (call sample() to set) */ float longitude; - + /** The latitude (call sample() to set) */ float latitude; @@ -51,7 +51,8 @@ Serial _gps; char msg[256]; - + }; - + #endif + \ No newline at end of file