Quellcode durchsuchen

Update comments, fixes #21

main
PaulStoffregen vor 4 Jahren
Ursprung
Commit
731309bc07
6 geänderte Dateien mit 8 neuen und 10 gelöschten Zeilen
  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 Datei anzeigen

@@ -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 Datei anzeigen

@@ -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 Datei anzeigen

@@ -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 Datei anzeigen

@@ -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 Datei anzeigen

@@ -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 Datei anzeigen

@@ -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.
}



Laden…
Abbrechen
Speichern