1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-08-01 03:47:23 +03:00

Merge remote-tracking branch 'arduino/master' into ide-1.5.x

This commit is contained in:
Cristian Maglie
2014-02-05 15:58:30 +01:00
8 changed files with 37 additions and 20 deletions

View File

@ -15,7 +15,9 @@
by David A. Mellis
modified 9 Apr 2012
by Tom Igoe
modified 2 Feb 2014
by Scott Fitzgerald
This example code is in the public domain.
*/
@ -39,7 +41,7 @@ void setup()
// or the SD library functions will not work.
pinMode(10, OUTPUT);
if (!SD.begin(10)) {
if (!SD.begin(4)) {
Serial.println("initialization failed!");
return;
}