Library for Skytraq Venus838 GPS

Dependents:   Venus838_Test Atlas

Revision:
0:8c7efefad15e
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Venus838.h	Tue Jun 24 04:46:31 2014 +0000
@@ -0,0 +1,20 @@
+#ifndef VENUS838_H_
+#define VENUS838_H_
+
+#include "mbed.h"
+
+class Venus838 {
+    public:
+        Venus838(PinName tx, PinName rx);
+        void setNmeaMessages(const bool gga, const bool gsa, const bool gsv, const bool gll, const bool rmc, const bool vtg);
+        void setUpdateRate(const uint8_t rate);
+        void setNavigationMode(const int mode);
+        bool readable();
+        void putc(char in);
+        char getc();
+    
+    private:
+        Serial _gps;
+};
+
+#endif
\ No newline at end of file