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

9 Commits

Author SHA1 Message Date
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
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
per1234
e180b7037d Add a note about ATmega32U4 incompatibility to SerialEvent example
serialEvent() does not work on the ATmega32U4 boards.

Reference: https://github.com/arduino/Arduino/issues/1031
2017-07-07 00:38:15 +02:00
agdl
ef25a2b308 Revert "Fix for serialEvent example"
This reverts commit 4648330a7f.
2015-12-15 12:20:45 +01:00
Arturo Guadalupi
4648330a7f Fix for serialEvent example
In the example is stated that the function is run between one loop and the next, but actually the call to the function was missing.
The comment also state that the response can be delayed using a delay in the loop,so I think that the way it should be is so by only
adding a call to the function serialEvent as first operation in the loop. I so added this call.
2015-05-21 10:15:55 +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
Tom Igoe
f5093b064a Renumbered examples 2012-03-19 19:44:06 -04:00