This is the device firmware for the imagingBoard on the DIY 3D Printable Raspberry Pi Raman Spectrometer. For more details please visit: http://hackaday.io/project/1279

Dependencies:   mbed

Revision:
5:cbf08f942178
Parent:
4:4eedf8292719
Child:
6:fe473ca8b625
--- a/main.cpp	Mon Aug 18 07:15:05 2014 +0000
+++ b/main.cpp	Mon Aug 18 07:17:24 2014 +0000
@@ -11,11 +11,8 @@
 PwmOut masterClock(PB_4);
 PwmOut shiftGate(PB_8);
 InterruptIn shiftGate_int(PC_6);
-//PwmOut icg(PB_3);
 DigitalOut ICG(PB_3);
-//interruptIn icg_int(PB_3);
 AnalogIn imageIn(A0);
-//AnalogOut imageOut(A5);
 DigitalOut LED(LED1);
 Serial raspi(USBTX, USBRX);
 
@@ -37,7 +34,7 @@
 int leadingDummyElements    = 16;
 int leadShieldedElements    = 13;
 int headerElements          = 3;
-const int signalElements    = 550; //3648;
+const int signalElements    = 3648;
 int trailingDummyElements   = 14;
 int pixelCount;
 int readOutTrigger;