added spectrometer timeout

Dependencies:   SDFileSystem mbed

Fork of All_Combined_Real2 by Colin Maxfield

Revision:
10:6ecdb63e6698
Parent:
9:924d80730ac5
Child:
11:dc884cb71bfa
--- a/main.cpp	Mon Apr 11 18:32:28 2016 +0000
+++ b/main.cpp	Mon Apr 11 19:01:23 2016 +0000
@@ -162,8 +162,8 @@
         
         if (tempCelsiusDouble > OVERHEATING_TEMP) {
             // turn off light source & spectrometer
-            lightsource_ssr = 1;
-            spectrometer_ssr = 1;
+            lightsource_ssr = 0;
+            spectrometer_ssr = 0;
             cooling_ssr = 1;
             
             // spin here -- just need to cool off.