Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of dgps by
Diff: adapt/gps.h
- Revision:
- 7:c75d5e5e6bfc
- Child:
- 12:e42985e3ea64
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/adapt/gps.h Tue Apr 01 15:52:08 2014 +0000 @@ -0,0 +1,20 @@ +#ifndef _GPS_H_ +#define _GPS_H_ +#include "mbed.h" + + +/// Define Pinout +#define GPSPINTX p9 +#define GPSPINRX p10 + +/// Define Baud +#define GPSBAUD 57600 + +class GPS{ +private: + static Serial* gps; +public: + /// \brief Call this function to get a hold of the serial for USB. + static Serial& getSerial(); +}; +#endif \ No newline at end of file