mirror of
https://github.com/arduino/Arduino.git
synced 2025-01-29 18:52:13 +01:00
Fixed SD examples. (added include for SPI lib)
This commit is contained in:
parent
9ceb20111d
commit
e0f967951f
@ -20,6 +20,7 @@
|
|||||||
by Tom Igoe
|
by Tom Igoe
|
||||||
*/
|
*/
|
||||||
// include the SD library:
|
// include the SD library:
|
||||||
|
#include <SPI.h>
|
||||||
#include <SD.h>
|
#include <SD.h>
|
||||||
|
|
||||||
// set up variables using the SD utility library functions:
|
// set up variables using the SD utility library functions:
|
||||||
|
@ -20,6 +20,7 @@
|
|||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <SPI.h>
|
||||||
#include <SD.h>
|
#include <SD.h>
|
||||||
|
|
||||||
// On the Ethernet Shield, CS is pin 4. Note that even if it's not
|
// On the Ethernet Shield, CS is pin 4. Note that even if it's not
|
||||||
|
@ -20,6 +20,7 @@
|
|||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <SPI.h>
|
||||||
#include <SD.h>
|
#include <SD.h>
|
||||||
|
|
||||||
// On the Ethernet Shield, CS is pin 4. Note that even if it's not
|
// On the Ethernet Shield, CS is pin 4. Note that even if it's not
|
||||||
|
@ -17,6 +17,7 @@
|
|||||||
This example code is in the public domain.
|
This example code is in the public domain.
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
#include <SPI.h>
|
||||||
#include <SD.h>
|
#include <SD.h>
|
||||||
|
|
||||||
File myFile;
|
File myFile;
|
||||||
|
@ -18,6 +18,7 @@
|
|||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <SPI.h>
|
||||||
#include <SD.h>
|
#include <SD.h>
|
||||||
|
|
||||||
File myFile;
|
File myFile;
|
||||||
|
@ -17,6 +17,7 @@
|
|||||||
This example code is in the public domain.
|
This example code is in the public domain.
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
#include <SPI.h>
|
||||||
#include <SD.h>
|
#include <SD.h>
|
||||||
|
|
||||||
File root;
|
File root;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user