Skip to content

Commit b6d8c53

Browse files
authored
Merge pull request #345 from arduino/SimonePDA-patch-29
Update print.adoc
2 parents 1ee23d0 + c949bb2 commit b6d8c53

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Language/Functions/Communication/Serial/print.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,13 +94,13 @@ void loop() {
9494
Serial.print("\t");
9595
9696
Serial.print("BIN");
97-
Serial.print("\t");
97+
Serial.println("\t"); // carriage return after the last label
9898
9999
for(x=0; x< 64; x++){ // only part of the ASCII chart, change to suit
100100
101101
// print it out in many formats:
102102
Serial.print(x); // print as an ASCII-encoded decimal - same as "DEC"
103-
Serial.print("\t"); // prints a tab
103+
Serial.print("\t\t"); // prints two tabs to accomodate the label lenght
104104
105105
Serial.print(x, DEC); // print as an ASCII-encoded decimal
106106
Serial.print("\t"); // prints a tab

0 commit comments

Comments
 (0)