How to print serial info on separate lines?

I can get the code to print the result of counter on screen using Serial.print ()

And can also print it with a tab between each line by using ("\t")

But what do I type to print it on a separate line every time?

Thanks! :)


i dont think \n works but you could try

Have you tried using Serial.println()

yes, use Serial.println()

Here is the Reference:


Brilliant, thanks all, the Serial.println() was the answer. Cheers ;D