They start a new line in the serial monitor. Without starting a new line, the message will keep printing on one line.
But it's used in almost every line on the PS3BT library, why don't I see it in any other library? what's so significant about using it in this particular library?
They start a new line in the serial monitor. Without starting a new line, the message will keep printing on one line.
But it's used in almost every line on the PS3BT library, why don't I see it in any other library? what's so significant about using it in this particular library?
The person that wrote the library likes neatly printed things with line breaks. I would do the same thing. Where else have you seen lots of serial outputs, you may find some there too, but with println(). The ln generates \r\n after the content to be printed. Don't get hung up on the \r\n. Maybe you are a mac/nix person?