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

15 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
2570383db9 Use a consistent number of spaces after punctuation in the comments of the built-in examples 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
per1234
a71b40351f Fix typos in the comments of the built-in examples 2017-07-18 11:07:37 +02:00
pfeerick
dc165ce46e Minor change to example comment
Can't be the right word! ;)
2016-09-23 13:11:19 +10:00
agdl
332931e3a6 Fixed example comment 2016-08-31 16:29:40 +02:00
agdl
4d28ea8bcd Changed data type to unsigned long
As requested in #5311 to avoid overflow issues.
2016-08-30 17:05:20 +02:00
Federico Fissore
b4c68b3dff Run new astyle formatter against all the examples 2013-10-21 09:58:40 +02:00
Fede85
c87ddd567d small changes to the Debounce example 2013-04-16 16:50:23 +02:00
Mike
b7da415d6f Fix Debounce example to work as described
This alters the debounce example code to toggle the LED rather than just use
the button state to set the LED state.

Fixes #293
2012-12-28 20:16:42 +00:00
Tom Igoe
f5093b064a Renumbered examples 2012-03-19 19:44:06 -04:00