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.
main.cpp
00001 #include "mbed.h" 00002 00003 DigitalOut myled(LED1); 00004 00005 Serial pc(USBTX, USBRX); // tx, rx 00006 Serial tg(p9,p10); // tx, rx 00007 00008 int main() { 00009 while(1) { 00010 pc.printf("test led1\n"); 00011 tg.printf("test led1\n"); 00012 myled = 1; 00013 wait(0.2); 00014 myled = 0; 00015 wait(0.2); 00016 } 00017 }
Generated on Thu Sep 8 2022 21:23:25 by
 1.7.2
 1.7.2