hue
Dependencies: mbed
main.cpp
00001 00002 #include "mbed.h" 00003 00004 Serial pc(p9, p10); // Use UART3 on LPC4088 Quickstart board 00005 Serial pc2(USBTX, USBRX); 00006 00007 int count = 0; 00008 00009 int main() { 00010 pc.baud(19200); 00011 pc2.baud(19200); 00012 00013 pc2.printf("Testing UART Communication\n\r"); 00014 while(1) { 00015 pc.putc(count); 00016 pc2.printf("Sending: %i\n\r", count); 00017 wait(1); 00018 count = count + 1; 00019 } 00020 }
Generated on Mon Aug 29 2022 09:43:53 by
1.7.2