program for final combination of working pieces

Dependencies:   SDFileSystem TMP102 mbed ISL29125

Fork of TEMP_Test by Thomas Dale

Revision:
7:6becc29457ce
Parent:
4:4b67d7667474
Child:
8:28f8162d2929
--- a/SDSave.cpp	Wed Mar 16 22:06:43 2016 +0000
+++ b/SDSave.cpp	Thu Mar 31 17:32:01 2016 +0000
@@ -20,14 +20,9 @@
     fprintf(fp, "Time (s)\t outside (C)\t inside (C)\t On Panel (C)\n\r");
 }
 
-void writeData(uint16_t time, float temp, float uv, uint16_t red, uint16_t green, uint16_t blue)
-{
-    fprintf(fp, "%.2f \t %.2f \t %.2f \t %d \t %d \t %d\n\r", time, temp, uv, red, green, blue);
-}
-
-void writeData_testTEMP(uint16_t time, float outside, float inside, float panel) {
+void writeData(uint16_t time, float outside, float inside, float panel, float Solar) {
     //output values for each
-    fprintf(fp, "%.2f \t %d \t %d \t %d\n\r", time, outside, inside, panel);
+    fprintf(fp, "temp ouside = %.2f (c) \t inside = %.2f (c) \t on panel = %.2f (c) \t solar volage = %.2f (V) \n\r", time, outside, inside, panel, Solar);
 }
 
 void closeDataFile() {