Mathew Swabey / SDCard

Dependents:   ELEC350_Project2 SDcard

Files at this revision

API Documentation at this revision

Comitter:
Swabey89
Date:
Sat Nov 10 19:31:17 2018 +0000
Parent:
4:dc767b5f917b
Child:
6:5646450f583b
Commit message:
Operating, but serial terminal needs reworking to avoid queue being full

Changed in this revision

SDCard.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/SDCard.cpp	Sat Nov 10 16:28:49 2018 +0000
+++ b/SDCard.cpp	Sat Nov 10 19:31:17 2018 +0000
@@ -77,10 +77,10 @@
 void SDaddSample(double temp, double pressure)
 {
     //Add the sampled data to the SD card    
+    yellowLED = !yellowLED;
     fp = fopen("/sd/q.csv","a");
     fprintf(fp, "%6.1f,%.2f\n\r", temp, pressure);
     fclose(fp);
-    puts("SAMPLE ADDED TO SD CARD");
 }
 
 void SDalive(void)