Commit fc7773fb authored by Patrick's avatar Patrick

remove RP.print_data()

parent c3653a2d
...@@ -40,7 +40,7 @@ void loop() ...@@ -40,7 +40,7 @@ void loop()
if (temp.sensor == TMP) { if (temp.sensor == TMP) {
myFile = SD.open("readings.csv", FILE_WRITE); myFile = SD.open("readings.csv", FILE_WRITE);
if (myFile) { if (myFile) {
Serial.print("Writing to readings.csv: "); Serial.print("Writing to readings.csv... ");
// write the timestamp to the file // write the timestamp to the file
myFile.print(temp.y); myFile.print(temp.y);
...@@ -66,8 +66,7 @@ void loop() ...@@ -66,8 +66,7 @@ void loop()
// close the file: // close the file:
myFile.close(); myFile.close();
// Then print what we sent to the Serial port // Then report to serial that we've finished
RP.print_data(temp);
Serial.println("done."); Serial.println("done.");
// and wait 5 seconds // and wait 5 seconds
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment