printf function prints to what?

02 Jan 2011

I'm using a program I found on this website to set my mbed up as a simple webserver on my home LAN.

Parts of the program have "printf ...." lines that seem to do nothing and output to nowhere.

The "sprintf ..." lines do go to webpage the program outputs.

 

Does anyone know where the "printf ..." lines output to? Perhaps a serial port of the mbed maybe?

 

Thanks

02 Jan 2011 . Edited: 02 Jan 2011

Default output is serial port pc(USBTX, USBRX) - it sends data parsed from printf to virtual serial port enumerated in USB devices from pc. You need the mbedWinSerial driver for windows ( if you use windows for example ).

Look here http://mbed.org/handbook/Windows-serial-configuration

13 Jan 2011

Thank you very much. You are a great help.

Best regards,

Bob M.