Sfoglia il codice sorgente

Update comments, fixes #21

main
PaulStoffregen 4 anni fa
parent
commit
731309bc07
6 ha cambiato i file con 8 aggiunte e 10 eliminazioni
  1. +1
    -1
      examples/CardInfo/CardInfo.ino
  2. +2
    -3
      examples/Datalogger/Datalogger.ino
  3. +2
    -3
      examples/DumpFile/DumpFile.ino
  4. +1
    -1
      examples/Files/Files.ino
  5. +1
    -1
      examples/ReadWrite/ReadWrite.ino
  6. +1
    -1
      examples/listfiles/listfiles.ino

+ 1
- 1
examples/CardInfo/CardInfo.ino Vedi File

@@ -48,7 +48,7 @@ void setup()
// Open serial communications and wait for port to open:
Serial.begin(9600);
while (!Serial) {
; // wait for serial port to connect. Needed for Leonardo only
; // wait for serial port to connect.
}



+ 2
- 3
examples/Datalogger/Datalogger.ino Vedi File

@@ -48,7 +48,7 @@ void setup()
// Open serial communications and wait for port to open:
Serial.begin(9600);
while (!Serial) {
; // wait for serial port to connect. Needed for Leonardo only
; // wait for serial port to connect.
}


@@ -77,8 +77,7 @@ void loop()
}
}

// open the file. note that only one file can be open at a time,
// so you have to close this one before opening another.
// open the file.
File dataFile = SD.open("datalog.txt", FILE_WRITE);

// if the file is available, write to it:

+ 2
- 3
examples/DumpFile/DumpFile.ino Vedi File

@@ -48,7 +48,7 @@ void setup()
// Open serial communications and wait for port to open:
Serial.begin(9600);
while (!Serial) {
; // wait for serial port to connect. Needed for Leonardo only
; // wait for serial port to connect.
}


@@ -62,8 +62,7 @@ void setup()
}
Serial.println("card initialized.");
// open the file. note that only one file can be open at a time,
// so you have to close this one before opening another.
// open the file.
File dataFile = SD.open("datalog.txt");

// if the file is available, write to it:

+ 1
- 1
examples/Files/Files.ino Vedi File

@@ -42,7 +42,7 @@ void setup()
// Open serial communications and wait for port to open:
Serial.begin(9600);
while (!Serial) {
; // wait for serial port to connect. Needed for Leonardo only
; // wait for serial port to connect.
}



+ 1
- 1
examples/ReadWrite/ReadWrite.ino Vedi File

@@ -43,7 +43,7 @@ void setup()
// Open serial communications and wait for port to open:
Serial.begin(9600);
while (!Serial) {
; // wait for serial port to connect. Needed for Leonardo only
; // wait for serial port to connect.
}



+ 1
- 1
examples/listfiles/listfiles.ino Vedi File

@@ -42,7 +42,7 @@ void setup()
// Open serial communications and wait for port to open:
Serial.begin(9600);
while (!Serial) {
; // wait for serial port to connect. Needed for Leonardo only
; // wait for serial port to connect.
}



Loading…
Annulla
Salva