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.
Dependencies: mbed
main.cpp
00001 #include "mbed.h" 00002 00003 Serial device(USBTX, USBRX); // tx, rx 00004 int rd = 0; 00005 int main() { 00006 device.baud(115200); 00007 while(1){ 00008 device.printf("Hello World\n"); 00009 rd = device.readable(); 00010 if(rd !=0) 00011 { 00012 device.putc(device.getc()); 00013 } 00014 00015 wait(1.0); 00016 } 00017 }
Generated on Thu Jul 28 2022 23:21:05 by
1.7.2