program for final combination of working pieces

Dependencies:   SDFileSystem TMP102 mbed ISL29125

Fork of TEMP_Test by Thomas Dale

Revision:
10:478e0eb37b0d
Parent:
9:9690da23e8d7
Child:
13:906a647d7bd1
diff -r 9690da23e8d7 -r 478e0eb37b0d SDSave.cpp
--- a/SDSave.cpp	Sun Apr 03 21:51:02 2016 +0000
+++ b/SDSave.cpp	Wed Apr 06 05:19:34 2016 +0000
@@ -14,7 +14,7 @@
 
 void writeData( float time, float outside, float inside, float panel, float Solar, float UV, uint16_t red, uint16_t green, uint16_t blue) {
     //output values for each
-    fprintf(fp, "temp ouside = %.2f (c) \t inside = %.2f (c) \t on panel = %.2f (c) \t solar volage = %.2f (V) \t UV light =%.2f \n\r", time, outside, inside, panel, Solar, UV, red, green, blue);
+    fprintf(fp, "temp ouside = %.2f (c) \t inside = %.2f (c) \t on panel = %.2f (c) \t solar volage = %.2f (V) \t UV light =%.4f \n\r", time, outside, inside, panel, Solar, UV, red, green, blue);
 }
 
 void closeDataFile() {