Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
10 years, 9 months ago.
SerialPC & Serial Question?
Hi, I use LPC11U24. I trying follow code. In PC terminal, can print out some string. However, I use a logic analyzer to measure LPC11U24:pin9, will have the same serial string output. But, I did not declare it (pin9) is serial output. This problem which will not be a bug?
Provide a serial pass-through between the PC
#include "mbed.h" Serial pc(USBTX, USBRX); // tx, rx int main() { while(!pc.writeable()); pc.printf("Echoes back to the screen anything you type\n"); while(1) { pc.putc(pc.getc()); } }
Question relating to:
1 Answer
10 years, 9 months ago.
Hello Lin-Ying Lee,
the handbook for your board: http://mbed.org/handbook/mbed-NXP-LPC11U24
Serial pins are also wired to the p9 and p10 according to the picture.
Regards,
0xc0170