Skip to content

Improve Serial.print() page #374

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 4 commits into from
Jun 11, 2018
Merged

Improve Serial.print() page #374

merged 4 commits into from
Jun 11, 2018

Conversation

per1234
Copy link
Collaborator

@per1234 per1234 commented Jun 4, 2018

  • Link mention of F() to PROGMEM page.
    • Unfortunately the reference pages don't seem to provide anchors to specific page sections.
  • Improve explanation of write() vs. print().
  • Don't use Serial.println() instead of Serial.print() in the usage examples.
  • Improve example code.

Fixes arduino/Arduino#1072

The only component of arduino/Arduino#1072 this doesn't address is:

Please revise:
"HEX (hexadecimal, or base 16)."
to read
"HEX (hexadecimal, or base 16) 1 to 4 digits.

because this information is not correct (perhaps it was back in 2012 when that issue was opened).

per1234 added 4 commits June 6, 2018 03:37
- Improve heading comment.
- A little better alignment of "prettified" inline comments.
- Remove unnecessary trailing tab output.
- Remove unnecessary global variable.
- Remove unnecessary use of empty quotes in Serial.println().
- Auto Format!!!
@SimonePDA SimonePDA merged commit 482c0de into arduino:master Jun 11, 2018
@per1234 per1234 deleted the f-macro-link branch June 11, 2018 14:40
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.

2 participants