adds a USB serial port to your design
Dependents: Example_WatchDog_Timer
Diff: USBSerial/USBSerial.h
- Revision:
- 64:c7639faed2eb
- Parent:
- 19:fcb63a105965
--- a/USBSerial/USBSerial.h Wed Apr 02 21:00:41 2014 +0100 +++ b/USBSerial/USBSerial.h Mon Apr 28 12:15:41 2014 +0000 @@ -83,6 +83,13 @@ */ uint8_t available(); + /** + * Check if the terminal is connected. + * + * @returns connection status + */ + bool connected(); + /** Determine if there is a character available to read * * @returns