![](/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: main.cpp
- Revision:
- 13:906a647d7bd1
- Parent:
- 12:7ed53be0057a
diff -r 7ed53be0057a -r 906a647d7bd1 main.cpp --- a/main.cpp Thu Apr 07 15:46:20 2016 +0000 +++ b/main.cpp Mon Apr 18 16:41:40 2016 +0000 @@ -38,13 +38,13 @@ if (totalTime>(lastTime+interval)) { lastTime=totalTime; get_rgb(rgb); - pc.printf("temp ouside = %.2f (c) inside = %.2f (c) on panel = %.2f (c) solar volage = %.2f (V) UV light =%.4f RGB Values: red = %d green = %d blue = %d\r\n" ,get_outsideTemp(),get_insideTemp(),get_panelTemp(),get_solar(),(get_UV()),rgb[0],rgb[1],rgb[2]);//prints titles and data of Temp readings - writeData(lastTime,get_outsideTemp(),get_insideTemp(),get_panelTemp(),get_solar(),get_UV(),rgb[0],rgb[1],rgb[2]);//send data to writeData in SDsave.cpp + pc.printf("temp ouside = %.2f (c) inside = %.2f (c) solar volage = %.4f (V) UV light =%.4f RGB Values: red = %d green = %d blue = %d\r\n" ,get_outsideTemp(),get_insideTemp(),get_solar(),(get_UV()),rgb[0],rgb[1],rgb[2]);//prints titles and data of Temp readings + writeData(lastTime,get_outsideTemp(),get_insideTemp(),get_solar(),get_UV(),rgb[0],rgb[1],rgb[2]);//send data to writeData in SDsave.cpp } } closeDataFile(); - ledBlue = 0; + ledBlue = 1; while (true) {}; } \ No newline at end of file