1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-12-04 15:24:12 +01:00
Commit Graph

15 Commits

Author SHA1 Message Date
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
e57c9625cf Fix typos in .txt files included with built-in examples 2017-07-18 11:07:37 +02:00
per1234
c5d4e5fc0f Fix comparison between signed and unsigned warning in StringLength example
Fixes:
warning: comparison between signed and unsigned integer expressions
compiler warning.

Closes https://github.com/arduino/Arduino/issues/693 (in conjunction with https://github.com/arduino/Arduino/issues/6448)
2017-07-07 00:32:37 +02: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
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
Fede85
a21c4e153f review of typos a and small errors in some examples 2012-10-18 19:03:25 +02:00
Cristian Maglie
d035d3b32c Fixed StringLength example 2012-06-26 01:01:52 +02:00
Federico Vanzati
412f261e41 Corretions and refinements to the String examples 2012-04-06 20:00:31 +02:00
Federico Vanzati
383ac95f3e Corretions and refinements to the String examples 2012-04-06 12:59:54 +02:00
Tom Igoe
f5093b064a Renumbered examples 2012-03-19 19:44:06 -04:00