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
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
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
David A. Mellis
4742739d6e
Adding position() function to File class and replacing FILE_TRUNCATE and FILE_APPEND with FILE_WRITE (SD library). Updating examples and keywords.txt accordingly.
2010-12-22 15:52:09 -06:00
Tom Igoe
4d3b263738
bug fixes to SD library examples
2010-12-03 15:29:56 -05:00
Tom Igoe
86e3d4ad7a
updated SD examples with new constants, and commented them
2010-12-03 10:35:17 -05:00
David A. Mellis
012b4b0f0f
Adding warning about leaving the hardware SS pin as an output.
2010-11-21 17:11:17 -05:00
David A. Mellis
d05a57af19
Using sdfatlib CS pin defaults. SD.begin() returns success or failure.
2010-11-20 13:50:45 -05:00
David A. Mellis
6f0ea10600
Adding SD.remove(file) and another example.
2010-11-20 13:07:59 -05:00