Norimasa Okamoto
/
GPSUSBHost
GPS USB dongle host
usbgps.h
- Committer:
- va009039
- Date:
- 2012-04-30
- Revision:
- 0:1c6af92fdc79
File content as of revision 0:1c6af92fdc79:
#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