Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: main_serial.cpp
- Revision:
- 4:3618abce1646
- Parent:
- 3:45c2b2d465c4
--- a/main_serial.cpp Mon Jan 18 10:51:25 2016 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,15 +0,0 @@ -#if 0 -// https://developer.mbed.org/handbook/USBSerial -#include "mbed.h" -#include "USBSerial.h" - -int main() { - USBSerial serial; - - for(int n = 0;; n++) { - serial.printf("I am a virtual serial port\r\n"); - serial.printf("%d\r\n", n); - wait_ms(1000); - } -} -#endif