Pass a CR or LF along with text data

Does anyone know how to pass a CR or LF along with the data to make it more readable when viewing it with notepad?
Some telemetry modules will let you switch from command mode to data mode to pass CR and other text formatting characters.

Bill S

@ billghi1 - try passing ‘\r\n’

that is a quoted \ lower R, \ lower N

\r\n with quotes.

If @ Terrence’s solution doesn’t work, you can always just append character 13 & 10.

1 Like