![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
program for final combination of working pieces
Dependencies: SDFileSystem TMP102 mbed ISL29125
Fork of TEMP_Test by
Diff: SDSave.cpp
- Revision:
- 8:28f8162d2929
- Parent:
- 7:6becc29457ce
- Child:
- 9:9690da23e8d7
diff -r 6becc29457ce -r 28f8162d2929 SDSave.cpp --- a/SDSave.cpp Thu Mar 31 17:32:01 2016 +0000 +++ b/SDSave.cpp Thu Mar 31 17:53:11 2016 +0000 @@ -20,9 +20,9 @@ fprintf(fp, "Time (s)\t outside (C)\t inside (C)\t On Panel (C)\n\r"); } -void writeData(uint16_t time, float outside, float inside, float panel, float Solar) { +void writeData(uint16_t time, float outside, float inside, float panel, float Solar, float UV) { //output values for each - 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); + 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); } void closeDataFile() {