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
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
e57c9625cf
Fix typos in .txt files included with built-in examples
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
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
per1234
352df2c15f
Remove unused variable from StringAdditionOperator example
...
- Avoids confusing beginners who assume there must be some reason for this useless line of code.
- Fixes "warning: unused variable 'currentTime'" compiler warning.
Closes https://github.com/arduino/Arduino/issues/693
2017-07-07 00:30:13 +02:00
Adam Douglass
f0e3ec56a3
Fix tutorial typos
2016-02-25 12:39:55 -05:00
Martino Facchin
47bcf07f5e
fix StringIndexOf example logic and wording
2015-11-30 13:23:57 +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
Arturo Guadalupi
33b67c0391
Removed StringToIntRGB example
...
like discussed in #3537
2015-09-03 14:26:37 +02:00
Federico Fissore
5e98cd8528
Examples: mass code format. See example_formatter.conf
2015-07-06 15:19:05 +02:00
Arturo Guadalupi
c28fb7acd4
Added float example to StringConstructor
...
This example has been added according to #3264
2015-06-01 09:50:51 +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
Cristian Maglie
06d75a4fa6
Merge branch 'master' into ide-1.5.x
2014-04-07 19:14:13 +02:00
Cristian Maglie
9c7e3ab4c3
Fixed example StringStartsWithEndsWith.ino
2014-04-07 19:07:49 +02:00
Federico Fissore
f3ca136cd9
Removed useless hidden files
...
Updated .gitignore
Closes #996
2014-02-27 14:21:48 +01:00
Cristian Maglie
7902fc2591
Fixed non working example: StringStartsWithEndsWith.ino
2013-11-18 10:29:10 +01:00
Federico Fissore
b4c68b3dff
Run new astyle formatter against all the examples
2013-10-21 09:58:40 +02:00
Scott Howard
a309364fb8
typo in StringLength.ino fixes #1028
2012-12-05 13:25:37 -05:00
Fede85
a21c4e153f
review of typos a and small errors in some examples
2012-10-18 19:03:25 +02:00
Cristian Maglie
a8f74c89d0
Fixed StringCharacters example
2012-08-06 12:03:04 +02:00
Cristian Maglie
d035d3b32c
Fixed StringLength example
2012-06-26 01:01:52 +02:00
Tom Igoe
bde00b9be9
Added delays to some serial examples to avoid crashing the serial monitor.
2012-04-09 10:48:40 -04: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
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
Zach Eveland
ae5d5c0c00
modified StringSubstring example to add gating on port readiness
2012-04-01 12:59:00 -04:00
Tom Igoe
f5093b064a
Renumbered examples
2012-03-19 19:44:06 -04:00