Skip to main content
FLamb.2
Associate II
January 24, 2021
Solved

How to make a new line in Cool Term

  • January 24, 2021
  • 1 reply
  • 1582 views

I am using Cool Term to print text to the USART.

How can I make a new line?

Now, it looks like this:

TextTextText.....

But I want it like this:

Text

Text

Text

......

This topic has been closed for replies.
Best answer by Vangelis Fortounas

Hello

Use CR LF after"Text" string

\n character is LF(line feed) and \r character is CR carriage return. (escape character)

eg: printf("Text\r\n");

1 reply

Vangelis Fortounas
Associate II
January 24, 2021

Hello

Use CR LF after"Text" string

\n character is LF(line feed) and \r character is CR carriage return. (escape character)

eg: printf("Text\r\n");