File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
libraries/SD/examples/listfiles Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 11/*
2- SD card basic file example
2+ Listfiles
33
4- This example shows how to create and destroy an SD card file
4+ This example shows how print out the files in a
5+ directory on a SD card
6+
57 The circuit:
68 * SD card attached to SPI bus as follows:
79 ** MOSI - pin 11
@@ -29,7 +31,6 @@ void setup()
2931 ; // wait for serial port to connect. Needed for Leonardo only
3032 }
3133
32-
3334 Serial.print (" Initializing SD card..." );
3435 // On the Ethernet Shield, CS is pin 4. It's set as an output by default.
3536 // Note that even if it's not used as the CS pin, the hardware SS pin
@@ -61,7 +62,6 @@ void printDirectory(File dir, int numTabs) {
6162 File entry = dir.openNextFile ();
6263 if (! entry) {
6364 // no more files
64- // Serial.println("**nomorefiles**");
6565 break ;
6666 }
6767 for (uint8_t i=0 ; i<numTabs; i++) {
You can’t perform that action at this time.
0 commit comments