program for final combination of working pieces

Dependencies:   SDFileSystem TMP102 mbed ISL29125

Fork of TEMP_Test by Thomas Dale

Files at this revision

API Documentation at this revision

Comitter:
Jeriah
Date:
Sat Mar 12 01:42:13 2016 +0000
Parent:
2:04c2f253ec87
Child:
4:4b67d7667474
Commit message:
Final working RGB_test program

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Sat Mar 12 01:40:42 2016 +0000
+++ b/main.cpp	Sat Mar 12 01:42:13 2016 +0000
@@ -30,7 +30,7 @@
         if (t.read()>(lastTime+interval))  {
           lastTime=t.read();
           get_rgb(rgb);
-          pc.printf("t = %.2f \t red = %d \t green = %d\r\n",lastTime,rgb[0],rgb[1]);
+          pc.printf("t = %.2f \t red = %d \t green = %d\t blue = %d\r\n",lastTime,rgb[0],rgb[1]);
           writeData_testRGB(lastTime,rgb[0],rgb[1],rgb[2]);//send data to writeData in SDsave.cpp
           //we will get all rgb readings through an array, with the corresponding integers going in order red, green, blue
         }