Fixed SD examples. (added include for SPI lib)

This commit is contained in:
Cristian Maglie 2012-09-25 18:29:19 +02:00
parent 9ceb20111d
commit e0f967951f
6 changed files with 6 additions and 0 deletions

View File

@ -20,6 +20,7 @@
by Tom Igoe
*/
// include the SD library:
#include <SPI.h>
#include <SD.h>
// set up variables using the SD utility library functions:

View File

@ -20,6 +20,7 @@
*/
#include <SPI.h>
#include <SD.h>
// On the Ethernet Shield, CS is pin 4. Note that even if it's not

View File

@ -20,6 +20,7 @@
*/
#include <SPI.h>
#include <SD.h>
// On the Ethernet Shield, CS is pin 4. Note that even if it's not

View File

@ -17,6 +17,7 @@
This example code is in the public domain.
*/
#include <SPI.h>
#include <SD.h>
File myFile;

View File

@ -18,6 +18,7 @@
*/
#include <SPI.h>
#include <SD.h>
File myFile;

View File

@ -17,6 +17,7 @@
This example code is in the public domain.
*/
#include <SPI.h>
#include <SD.h>
File root;