-
-
Notifications
You must be signed in to change notification settings - Fork 728
Added an example and Notes and warnings #749
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
Conversation
Code was tested on Arduino Mega 2560.
CLA assistant check
All committers have signed the CLA.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You added the content inside the "see_also" block instead of creating a new "howtouse" block. This resulted in an invalid Asciidoc document which would break the website generator.
Please move the content out of the "see_also" block, following the reference sample here:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use correct capitalization for Arduino's "Serial Monitor" tool
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Correctly format code
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will ensure those using a board like the Leonardo will see all the sketch output from n=0.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use the standard Arduino code formatting style, as implemented by the default configuration of the Arduino IDE "Auto Format" feature.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems better to specify the parameter type in the "Parameters" section of the reference page.
I'm not sure what the best approach is for defining types of parameters of macros such as bit
:
https://github.com/arduino/ArduinoCore-API/blob/1.3.1/api/Common.h#L71
Code was tested on Arduino Mega 2560.