This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How to print to serial port

How do I print a simple hello world to the teraterm (for example).

What is a substitute for printf?

Thanks!

Jack

  • Jack,

    You can use uartStdio for this. Include uartStdio.h.

    Call UARTStdioInit();

    Then you can use UARTprintf or any of the other similar functions available.

    Most of the StarterWare examples use this method for prints.

    Regards,

    Mugdha