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
Diff: main.cpp
- Revision:
- 3:83cb6eb61adf
- Parent:
- 2:7751080fb267
- Child:
- 4:4eedf8292719
--- a/main.cpp Mon Aug 18 02:00:24 2014 +0000 +++ b/main.cpp Mon Aug 18 04:26:00 2014 +0000 @@ -24,6 +24,7 @@ int shiftGate_period = 200; //microseconds int shiftGate_width = 100; //microseconds +int none = 0; int veryLow = 1; int low = 100; int medium = 100000; @@ -31,7 +32,7 @@ int veryHigh = 10000000; double imageData; -int sensitivity = medium; +int sensitivity = none; int pixelTotal = 3694; int leadingDummyElements = 16; int leadShieldedElements = 13; @@ -106,7 +107,7 @@ pixelCount++; // pixelValue[pixelCount] = imageIn.read(); // imageData = ((imageIn.read_u16() * 5.0) / 4096.0); - raspi.printf("%4.20f \r\n", (imageIn.read_u16() * 5.0) / 4096.0); +// raspi.printf("%4.12f \r\n", (imageIn.read_u16() * 5.0) / 4096.0); LED = !LED; if (pixelCount == signalElements) { pixelCount = 0;