Colin Stearns
/
qcControl
QC Control software
Fork of dgps by
adapt/gps.h@66:5d43988d100c, 2014-05-05 (annotated)
- Committer:
- dylanembed123
- Date:
- Mon May 05 13:20:35 2014 +0000
- Revision:
- 66:5d43988d100c
- Parent:
- 14:6be57da62283
Final Project;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
dylanembed123 | 7:c75d5e5e6bfc | 1 | #ifndef _GPS_H_ |
dylanembed123 | 7:c75d5e5e6bfc | 2 | #define _GPS_H_ |
dylanembed123 | 7:c75d5e5e6bfc | 3 | #include "mbed.h" |
dylanembed123 | 7:c75d5e5e6bfc | 4 | |
dylanembed123 | 7:c75d5e5e6bfc | 5 | |
dylanembed123 | 7:c75d5e5e6bfc | 6 | /// Define Pinout |
dylanembed123 | 12:e42985e3ea64 | 7 | #define GPSPINTX p28 |
dylanembed123 | 12:e42985e3ea64 | 8 | #define GPSPINRX p27 |
dylanembed123 | 7:c75d5e5e6bfc | 9 | |
dylanembed123 | 7:c75d5e5e6bfc | 10 | /// Define Baud |
dylanembed123 | 7:c75d5e5e6bfc | 11 | #define GPSBAUD 57600 |
dylanembed123 | 7:c75d5e5e6bfc | 12 | |
dylanembed123 | 7:c75d5e5e6bfc | 13 | class GPS{ |
dylanembed123 | 7:c75d5e5e6bfc | 14 | private: |
dylanembed123 | 7:c75d5e5e6bfc | 15 | static Serial* gps; |
dylanembed123 | 7:c75d5e5e6bfc | 16 | public: |
dylanembed123 | 7:c75d5e5e6bfc | 17 | /// \brief Call this function to get a hold of the serial for USB. |
dylanembed123 | 7:c75d5e5e6bfc | 18 | static Serial& getSerial(); |
dylanembed123 | 7:c75d5e5e6bfc | 19 | }; |
dylanembed123 | 14:6be57da62283 | 20 | |
dylanembed123 | 7:c75d5e5e6bfc | 21 | #endif |