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, 4 months ago.
How to set up USBSerial
Hi all,
I wanted to take an advantage of having my LPC800-MAX board capable of communicationf with me via USBSerial. What I did is:
- include "mbed.h"
int main(void) { Serial pc(USBTX, USBRX); while(1) { pc.printf("test serial usb"); wait(100); }
return 0; }
but nothing happens. on COM7, where mbed serial is installed, there is no traffic at all. I also changed a speed to 9600baud ( pc.baud(9600); ) but it also didn't solved the problem.
Does anybody have USBSerial working on LPC's mbed enabled board?
best regards
1 Answer
10 years, 4 months ago.
Did you do the required hardware modification? The LPC800-MAX board requires two pads to be shorted: https://mbed.org/handbook/mbed-NXP-LPC800-MAX-Getting-Started