Ver código fonte

Update comments, fixes #21

main
PaulStoffregen 4 anos atrás
pai
commit
731309bc07
6 arquivos alterados com 8 adições e 10 exclusões
  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 Ver arquivo

@@ -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 Ver arquivo

@@ -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 Ver arquivo

@@ -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 Ver arquivo

@@ -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 Ver arquivo

@@ -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 Ver arquivo

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



Carregando…
Cancelar
Salvar