Skip to content

Update print.adoc #345

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 19, 2018
Merged

Update print.adoc #345

merged 1 commit into from
Apr 19, 2018

Conversation

SimonePDA
Copy link

Fixed the sketch to be properly formatted.
Now it is clean and fully functional.

Thanks for pointing out the bugs.

Fixed the sketch to be properly formatted.
Now it is clean and fully functional.

Thanks for pointing out the bugs.

for(x=0; x< 64; x++){ // only part of the ASCII chart, change to suit

// print it out in many formats:
Serial.print(x); // print as an ASCII-encoded decimal - same as "DEC"
Serial.print("\t"); // prints a tab
Serial.print("\t\t"); // prints two tabs to accomodate the label lenght
Copy link

@shane-lawson shane-lawson Mar 31, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo of the word "length"

@@ -94,13 +94,13 @@ void loop() {
Serial.print("\t");

Serial.print("BIN");
Serial.print("\t");
Serial.println("\t"); // carriage return after the last label

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In pull request #318, I used Serial.println(""); here, as this was consistent with what is already used in line 118 for printing a carriage return.

@shane-lawson
Copy link

I had made one other small change in my previous pull request #318, https://github.com/arduino/reference-en/pull/318/files#diff-4dd38d2ace74141a9a7c9b69e7564cd3R22 which fixed an error in the markdown that made the last bullet look like

image

rather than being formatted as code. This change is not made in this pull request, keeping the format looking like the above image.

@kengdahl kengdahl merged commit b6d8c53 into master Apr 19, 2018
@per1234 per1234 deleted the SimonePDA-patch-29 branch January 24, 2019 05:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants