shared version

Dependencies:   ExtendedTimer ISL29125 SDFileSystem mbed

Link to the experiment wiki: http://www.whitworthnearspace.org/wiki/Dependence_of_photovoltaic_performance_on_light_spectrum

Revision:
1:08f10b3443e4
Parent:
0:00e98c624c5f
Child:
2:cf208b7bb73e
--- a/final_main.cpp	Tue Apr 18 17:47:39 2017 +0000
+++ b/final_main.cpp	Tue Apr 18 22:19:11 2017 +0000
@@ -33,7 +33,7 @@
         return -1;
     }
 
-    FILE* fp = fopen("/drive/data.txt", "w"); //"a" is for append
+    FILE* fp = fopen("/drive/data.txt", "a"); //"a" is for append
     if (fp == NULL){
         pc.printf("Failed to open file.\r\n");
         sd.unmount();