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 DigitalOut M1(PC_8); 00003 DigitalOut M0(PC_9); 00004 Serial pc(USBTX, USBRX); 00005 Serial uart(PC_4, PC_5);//TX4,RX4 00006 int idx=0; 00007 00008 00009 int main() 00010 { 00011 00012 uart.baud(9600); 00013 while(1) { 00014 00015 00016 uart.printf("s12345#\r\n"); 00017 idx=idx+1; 00018 wait(1); 00019 pc.printf("TX send s12345#\r\n"); 00020 //pc.printf("%d\n\r", i); 00021 wait(1); 00022 00023 00024 00025 } 00026 }
Generated on Thu Jul 21 2022 14:37:09 by
1.7.2