Cristian Maglie
7a178a5180
Partially revert "Removing useless includes from examples"
...
This allows example to continue to work with older IDE.
This partially reverts commit 46cb5f0a5c
.
2015-10-28 15:56:44 +01:00
Federico Fissore
46cb5f0a5c
Removing useless includes from examples
2015-10-02 12:24:31 +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
Martino Facchin
a57d390499
SD: remove any reference to pinMode(10, OUTPUT) in the examples
...
correct SS pin setup is already handled by SPI subsystem.
this should prevent future issues like #2868
current implementation assures that:
* pin10 is OUTPUT HIGH if SPI.begin() is called and the pin was unconfigured
* pin10 state is not modified if pinMode(10, OUTPUT) is called before SPI.begin()
* pin10 is INPUT HI-Z if nor pinMode(10, OUTPUT) nor SPI.begin() are called
2015-04-13 18:08:31 +02:00
Ing. Jan Kaláb
f34dc938f6
Typos
2015-04-01 19:43:32 +02:00
Federico Fissore
b4c68b3dff
Run new astyle formatter against all the examples
2013-10-21 09:58:40 +02:00
Cristian Maglie
e0f967951f
Fixed SD examples. (added include for SPI lib)
2012-09-25 18:29:19 +02:00
Cristian Maglie
1e221116f3
Moved SD lib into root libraries folder
2012-09-24 12:42:23 +02:00
Cristian Maglie
57b8713cab
Moved libraries folder inside platform folder. Now libraries and examples are searched per board/platform
2012-01-04 15:14:51 +01:00
Zach Eveland
a6a59f1783
Revert "Merge branch 'master' of github.com:arduino/Arduino into diskloader_reboot"
...
This reverts commit df9835efaf
, reversing
changes made to ec45af8bfa
.
Conflicts:
hardware/arduino/variants/mega/pins_arduino.h
libraries/Ethernet/examples/PachubeClientString/PachubeClientString.ino
2011-10-27 11:45:13 -04:00
Zach Eveland
df9835efaf
Merge branch 'master' of github.com:arduino/Arduino into diskloader_reboot
...
Conflicts:
app/src/processing/app/Editor.java
app/src/processing/app/Sketch.java
build/shared/examples/4.Communication/SerialCallResponse/SerialCallResponse.pde
build/shared/lib/theme/theme.txt
hardware/arduino/cores/arduino/HardwareSerial.h
hardware/arduino/cores/arduino/Print.cpp
hardware/arduino/cores/arduino/WString.h
hardware/arduino/variants/mega/pins_arduino.h
libraries/Ethernet/examples/PachubeClient/PachubeClient.ino
libraries/Ethernet/examples/PachubeClientString/PachubeClientString.ino
libraries/Firmata/examples/EchoString/EchoString.ino
libraries/SD/File.cpp
libraries/SoftwareSerial/SoftwareSerial.cpp
libraries/SoftwareSerial/SoftwareSerial.h
libraries/SoftwareSerial/examples/SoftwareSerialExample/SoftwareSerialExample.ino
libraries/SoftwareSerial/keywords.txt
2011-10-27 09:32:27 -04:00
David A. Mellis
5ba38fa9bd
Applying adafruit SD updates (available() overful fix).
...
http://code.google.com/p/arduino/issues/detail?id=595
2011-09-09 16:57:00 -04:00
Tom Igoe
35777612c0
Changed all .pde examples to .ino
...
All examples in /build/shared/examples/ and /libraries/ have had their
extensions changed to .ino
2011-08-30 15:33:32 -04:00
Tom Igoe
42039ecd19
changed CS pin on CardInfo example to make it consistent with other SD examples
2011-05-12 17:02:47 -04:00
David A. Mellis
059bc5f022
Incorporating ladyada's SD changes (multifile & directories).
...
Grabbed a patch from this repository: https://github.com/adafruit/SD and updated it for Arduino 1.0 (using Arduino.h instead of WProgram.h).
2011-04-18 17:58:54 -04:00
Tom Igoe
df00d3e5f3
changed CS pin on CardInfo example to make it consistent with other SD examples
2011-03-16 13:53:39 -04:00
Tom Igoe
fe8af70c61
Added CardInfo example to SD libary examples
2011-03-01 07:13:18 -05:00