7 years, 12 months ago.

How to use "printf" by serial on LPC4088DM working with emWin

How to show the message on my Terminal on LPC4088DM working with emWin? For example, I want to press a button and then printf("Hello World!") on my Terminal? I use "pc.printf" , but there just garbled text.

2 Answers

7 years, 12 months ago.

Do you have the correct port settings? The mbed default is 9600 baud, 8 bits, 1 stop bit, no parity. Unless you change things in your program you need to set your terminal to those settings.

7 years, 12 months ago.

If you are using the printf method in the RtosLog class, then the baud rate will be 115200. EA uses the RtosLog in some of their examples,'