Colin Stearns
/
dgps
WIP for dgps
adapt/usb.h@6:f0248eb6714d, 2014-04-03 (annotated)
- Committer:
- dylanembed123
- Date:
- Thu Apr 03 16:27:23 2014 +0000
- Revision:
- 6:f0248eb6714d
- Parent:
- 5:eef5ea6a9916
Fix compile errors;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
dylanembed123 | 5:eef5ea6a9916 | 1 | /** |
dylanembed123 | 5:eef5ea6a9916 | 2 | * \brief USB interface |
dylanembed123 | 5:eef5ea6a9916 | 3 | **/ |
dylanembed123 | 5:eef5ea6a9916 | 4 | |
dylanembed123 | 3:434d20e99e49 | 5 | #ifndef _USB_H_ |
dylanembed123 | 3:434d20e99e49 | 6 | #define _USB_H_ |
dylanembed123 | 3:434d20e99e49 | 7 | #include "mbed.h" |
dylanembed123 | 3:434d20e99e49 | 8 | class USB{ |
dylanembed123 | 3:434d20e99e49 | 9 | private: |
dylanembed123 | 3:434d20e99e49 | 10 | static Serial* pc; |
dylanembed123 | 3:434d20e99e49 | 11 | public: |
dylanembed123 | 3:434d20e99e49 | 12 | /// \brief Call this function to get a hold of the serial for USB. |
dylanembed123 | 3:434d20e99e49 | 13 | static Serial& getSerial(); |
dylanembed123 | 3:434d20e99e49 | 14 | }; |
dylanembed123 | 3:434d20e99e49 | 15 | #endif |