Print debugging over USB
To know what your mbed is up to, it is very useful to be able to log output to a terminal on your computer.
How to do the printing on the mbed is explained in the c++ guide. This guide will walk you through how to set up the required software on your computer.
Windows
For print debugging to work on Windows, you need to install two things: a serial driver that lets the mbed communicate over USB properly, and a terminal that can view the output that is transmitted.
Driver
Download the serial driver.
Plug the mbed into your computer, and then run the installer. Click through yes, accept, trust, etc on all the dialog boxes that pop up. After a while, the serial driver will be installed.
Terminal
Download and install termite which will be used for displaying the print output from the mbed.
In the settings menu, make sure the settings are set like in this image:
If you get stuck, you can check out the troubleshooting section of the mbed handbook serial configuration guide.
OS X
Download CoolTerm.
Plug the mbed into your computer. Open CoolTerm and click Options.
Select the usbdevice in the dropdown menu.
Finally, press connect.
Linux
Download this thing (we haven’t tested it).