Mathew Swabey / SDCard

Dependents:   ELEC350_Project2 SDcard

Files at this revision

API Documentation at this revision

Comitter:
Swabey89
Date:
Sun Nov 18 15:19:36 2018 +0000
Parent:
5:0d49326968ca
Child:
7:393fa8184388
Commit message:
updated to RawSerial

Changed in this revision

SDCard.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/SDCard.cpp	Sat Nov 10 19:31:17 2018 +0000
+++ b/SDCard.cpp	Sun Nov 18 15:19:36 2018 +0000
@@ -77,7 +77,7 @@
 void SDaddSample(double temp, double pressure)
 {
     //Add the sampled data to the SD card    
-    yellowLED = !yellowLED;
+    yellowLED = !yellowLED; //debugging
     fp = fopen("/sd/q.csv","a");
     fprintf(fp, "%6.1f,%.2f\n\r", temp, pressure);
     fclose(fp);