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
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
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
bd1135eb60
Added SerialPassthrough sketch to communication examples
2016-05-26 11:14:09 +02:00
Paolo P
eab75d9f65
Update ReadASCIIString.ino
...
Fix typo.
2016-03-14 12:50:39 +01:00
agdl
05dccd2a0e
Fixed description according to #4260
2016-03-14 09:10:14 +01:00
agdl
ef25a2b308
Revert "Fix for serialEvent example"
...
This reverts commit 4648330a7f
.
2015-12-15 12:20:45 +01:00
agdl
53af4a7dea
Removed old example
2015-11-27 14:40:31 +01:00
agdl
c009ac6e4c
Modified example to not generate confusion
...
Only Arduino Mega was mentioned, but actually many boards have more than one Serial port
2015-11-27 14:36:48 +01:00
agdl
3229e422a2
run autoformat in the example
2015-11-26 11:44:05 +01:00
agdl
2f00c938a7
Fixed processing code for Processing 3
...
As pointed out in #4214 I changed the processing code to make it working wit Processing 3
2015-11-26 11:33:27 +01:00
Arturo Guadalupi
9eaea4205d
Modified reference to Leonardo only in the examples
...
According to #3786 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
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
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
c1d8b5ecf9
MIDI example folder renamed to Midi because sketch file is Midi.ino
2013-10-21 12:32:46 +02:00
Federico Fissore
b4c68b3dff
Run new astyle formatter against all the examples
2013-10-21 09:58:40 +02:00
Tom Igoe
36b5d52d4a
Corrected link address in Midi example
2012-08-13 15:21:28 -04:00
David A. Mellis
2cbde219c1
Merge remote-tracking branch 'upstream/master'
2012-05-21 09:31:54 -07: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
9adcdadf59
Added ReadASCIIString example to Communication examples
2012-04-13 16:15:00 -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
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