Pārlūkot izejas kodu

Update comments, fixes #21

main
PaulStoffregen pirms 4 gadiem
vecāks
revīzija
731309bc07
6 mainītis faili ar 8 papildinājumiem un 10 dzēšanām
  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 Parādīt failu

@@ -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 Parādīt failu

@@ -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 Parādīt failu

@@ -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 Parādīt failu

@@ -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 Parādīt failu

@@ -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 Parādīt failu

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



Notiek ielāde…
Atcelt
Saglabāt