adds a USB serial port to your design
Dependents: Example_WatchDog_Timer
Diff: USBSerial/USBCDC.h
- Revision:
- 6:d0945750af57
- Parent:
- 1:80ab0d068708
- Child:
- 15:849c0c0f2769
--- a/USBSerial/USBCDC.h Sun Oct 14 15:08:52 2012 +0000 +++ b/USBSerial/USBCDC.h Thu Dec 20 17:05:37 2012 +0000 @@ -99,9 +99,11 @@ * @returns true if successful */ bool readEP_NB(uint8_t * buffer, uint32_t * size); - + +protected: virtual bool USBCallback_request(); virtual bool USBCallback_setConfiguration(uint8_t configuration); + volatile bool terminal_connected; };