Colin Stearns / Mbed 2 deprecated qcControl

Dependencies:   mbed

Fork of dgps by Colin Stearns

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