1
0
mirror of https://github.com/arduino/Arduino.git synced 2025-03-06 03:29:16 +01:00

19 Commits

Author SHA1 Message Date
per1234
5f86bdd1b4 Use consistent format for Max/MSP patches included in the built-in example comments 2017-07-18 11:07:37 +02:00
per1234
abc9a8917d Use consistent formatting style for Processing code included in built-in example comments 2017-07-18 11:07:37 +02:00
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
a71b40351f Fix typos in the comments of the built-in examples 2017-07-18 11:07:37 +02:00
Arturo Guadalupi
9eaea4205d Modified reference to Leonardo only in the examples
According to  removed the reference to Leonardo only in while(!Serial) of the examples.
Changed in in "wait for serial port to connect. Needed for native USB port only"
2015-09-21 14:58:58 +02:00
Federico Fissore
5e98cd8528 Examples: mass code format. See example_formatter.conf 2015-07-06 15:19:05 +02:00
Federico Fissore
d87f0faf11 Examples: adding description, layout and schematics 2015-05-04 16:49:10 +02:00
Cristian Maglie
793b139d39 Merge remote-tracking branch 'arduino/master' into ide-1.5.x 2014-02-05 15:58:30 +01:00
Scott Fitzgerald
017326acc6 Minor changes to Communication Examples
Added a note to the included Processing sketches about replacing
println(Serial.list()) with Serial.printArray() if using Processing 2.1
or later
2014-01-29 14:27:09 +04:00
Federico Fissore
b4c68b3dff Run new astyle formatter against all the examples 2013-10-21 09:58:40 +02:00
Zach Eveland
c7d98cc85d Merge branch 'master' of github.com:arduino/Arduino into LUFA_bootloader
Conflicts:
	build/shared/examples/04.Communication/SerialCallResponse/SerialCallResponse.ino
	build/shared/examples/04.Communication/SerialCallResponseASCII/SerialCallResponseASCII.ino
2012-05-01 10:19:00 -04:00
Tom Igoe
6f93d3fc17 Updated all comments for while (!Serial) additions to serial-based examples 2012-04-09 10:48:40 -04:00
Tom Igoe
202bb102a0 Updated all serial in setup examples with a note about the serial check 2012-04-02 11:11:46 -04:00
Tom Igoe
a631e4f834 Added Serial port check to all examples using Serial statements in the setup 2012-04-02 09:07:58 -04:00
Tom Igoe
f5093b064a Renumbered examples 2012-03-19 19:44:06 -04:00