added spectrometer timeout

Dependencies:   SDFileSystem mbed

Fork of All_Combined_Real2 by Colin Maxfield

Revision:
4:70411c8dadcc
Parent:
3:c611fff05072
Child:
5:6532c5a5f576
--- a/main.cpp	Tue Mar 15 17:52:05 2016 +0000
+++ b/main.cpp	Tue Mar 22 17:08:13 2016 +0000
@@ -20,8 +20,12 @@
 // Fifo_cs (#3) -> PTB23
 // Trigger (#13) -> PTA2
 
+// spi_cs (#10) -> PTC2
+
 SPI spi(PTD2, PTD3, PTD1); // mosi, miso, sclk
 
+DigitalOut spi_cs(PTC2);
+
 DigitalIn pixel_rdy(PTA1);
 DigitalOut fifo_cs(PTB23);
 DigitalOut trigger(PTA2);