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, 11 months ago.
Send serial signal over USB pins
I was successfully able to use the USB connector to emulate the serial Interface. I used Tera Term on Windows to retrieve the messages. But when I try to use the USB pins (D-,D+) my mbed board gets not recognized in Windows. I'm using the Testbed for mbed for this. Using the power from USB or external power supply doesn't make a difference.
Do I miss something here?
Question relating to:
2 Answers
10 years, 11 months ago.
Hi Manuel,
The D-,D+ pins are for a "user" USB interface. For these you need an appropriate driver. You will find many links on the mbed site, however USB on the Cookbook page might be an easy place to start.
For a few more details about the USB to PC interface, please refer to mbed-interface, where you'll see this is actually supported by a different chip (the one on the bottom of your LPC1768 mbed).
10 years, 11 months ago.
Thank you very much for your advice. The problem was, I didn't have this line at the beginning
#include "USBSerial.h" //Virtual serial port over USB USBSerial serial;
now it works. http://mbed.org/handbook/USBSerial