1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-12-13 23:48:46 +01:00
Commit Graph

14 Commits

Author SHA1 Message Date
per1234
18b5327da0 Use consistent line wrapping in built-in example comments 2017-07-18 11:07:37 +02:00
per1234
e3044a5f5a Make the formatting of opening comments of built-in examples consistent 2017-07-18 11:07:37 +02:00
per1234
eee3e5ba18 Auto Format all built-in examples
The only changes I left out are the Max/MSP patches because I don't know whether the indentation would break them.
2017-07-18 11:07:37 +02:00
per1234
8f48433f33 Indent all multi-line C style comments in built-in examples by at least two spaces
This is required for Auto Format compatibility because it has the undesirable effect of indenting only unindented contents of multi-lline comments, thus altering the relative indentation of the text.

The exception is the Max/MSP patches as I did not know whether indentation would break them.
2017-07-18 11:07:37 +02:00
per1234
499c424d59 Use Auto Format compatible bullet character in built-in example comment lists
Tools > Auto Format in the Arduino IDE removes asterisks from the start of every line in a C style comment, causing that character to be unsuitable for use as a bullet for lists in the example comments.
2017-07-18 11:07:37 +02:00
per1234
827a933eed Maintain a consistent number of newlines at end of built-in examples
A single newline at the end of the examples was most common so I fixed all examples that did not follow this convention.
2017-07-18 11:07:37 +02:00
Federico Fissore
9166828bfe Due to website configuration changes, every url starting with http://arduino.cc has been changed to http://www.arduino.cc. Fixes #3191 2015-05-20 17:10:06 +02:00
Federico Fissore
d87f0faf11 Examples: adding description, layout and schematics 2015-05-04 16:49:10 +02:00
Federico Fissore
b4c68b3dff Run new astyle formatter against all the examples 2013-10-21 09:58:40 +02:00
Nick
ad500ae24d Update incorrect docs in tonePitchFollower example
The comments state that the speaker should be on pin 8, but the code references pin 9. Updated the comments to reflect the correct pin.
2013-06-11 14:47:15 +02:00
Tom Igoe
57ed5ba6f2 Reconciled comment versions on TonePitchFollower example 2012-06-12 10:23:19 -04:00
Tom Igoe
4b7bc3b584 Made changes to TonePitchFollower example for clarity, suggestions by user Michael Flynn 2012-05-31 18:24:38 -04:00
Tom Igoe
bde00b9be9 Added delays to some serial examples to avoid crashing the serial monitor. 2012-04-09 10:48:40 -04:00
Tom Igoe
f5093b064a Renumbered examples 2012-03-19 19:44:06 -04:00