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.
11 years, 6 months ago.
simple question
i dont have background about C++ what pc.printf() do? thanks
1 Answer
11 years, 6 months ago.
See for printf: http://www.cplusplus.com/reference/cstdio/printf/
pc.printf is the same, but specically for the USB virtual com port of the mbed. For the mbed the default output location of printf is that port, so pc.printf is identical to printf (unless the default output is rerouted somewhere else). See also: http://mbed.org/handbook/SerialPC