GPS USB dongle host

Dependencies:   mbed

Revision:
0:1c6af92fdc79
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/usbgps.h	Mon Apr 30 14:24:46 2012 +0000
@@ -0,0 +1,20 @@
+#ifndef USBGPS_H
+#define USBGPS_H
+#include "usbhost_cpu.h"
+#include "usbhost_lpc17xx.h"
+#include <queue>
+
+class usbgps : public Stream {
+public:
+    usbgps();
+    int readable();
+protected:
+    void _init();
+    void _receive_proc();
+    virtual int _getc();
+    virtual int _putc(int c);
+    queue<char> _receive;
+    bool m_connect;
+    bool m_init;
+};
+#endif //USBGPS_H
\ No newline at end of file