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

16 Commits

Author SHA1 Message Date
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
Cristian Maglie
793b139d39 Merge remote-tracking branch 'arduino/master' into ide-1.5.x 2014-02-05 15:58:30 +01:00
Scott Fitzgerald
1c28dab57b Updated Listfiles SD example
Changed SS pin to 4 for consistency with other examples
2014-02-02 14:35:04 +04:00
Cristian Maglie
a0727ac862 Merge branch 'master' into ide-1.5.x
Conflicts:
	build/shared/examples/02.Digital/BlinkWithoutDelay/BlinkWithoutDelay.ino
	build/shared/examples/09.USB/Keyboard/KeyboardMessage/KeyboardMessage.ino
	libraries/LiquidCrystal/examples/CustomCharacter/CustomCharacter.ino
	libraries/SD/examples/listfiles/listfiles.ino
2013-11-12 09:45:56 +01:00
Scott Fitzgerald
4869f7f979 Updated listfiles SD example
Updated description of the file
2013-11-11 16:19:48 +04:00
Federico Fissore
b4c68b3dff Run new astyle formatter against all the examples 2013-10-21 09:58:40 +02:00
Federico Fissore
730f81e8ba fixes #832 2012-12-20 16:28:09 +01:00
Federico Fissore
9ef43accbc fixes #832 2012-12-20 16:26:46 +01: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
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
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
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