Moved to Team 9.

Fork of LineScan by Nicholas Gan

Revision:
24:774104c34063
Parent:
20:e9f0d1483ba1
Child:
27:173b2f564143
--- a/LineScan.h	Sat Apr 25 02:42:06 2015 +0000
+++ b/LineScan.h	Mon Apr 27 23:10:45 2015 +0000
@@ -8,15 +8,21 @@
 #define UPDATE_RATE 5 //ms
 
 /** Linescan functions (Nicholas Gan)
- * to capture linescan frames and process them. 
+ * to capture linescan frames and process them.
   */
 
 uint16_t read1Bit(AnalogIn cam, DigitalOut *camClk);
 void startRead(DigitalOut *camSi, DigitalOut *camClk);
-float processFn(uint16_t *array, int arraySz, int* exposure);
-float getLinePos(AnalogIn cam, 
-                 DigitalOut *camSi, 
-                 DigitalOut *camClk, 
-                 int *exposure, 
-                 telemetry::NumericArray<uint16_t, NUM_PIX> &tele_linescan);
+float processFn(uint16_t *array, int arraySz, int* exposure, telemetry::NumericArray<uint16_t, NUM_PIX> &tele_linescan_diff);
+float processFn2(uint16_t *array, int arraySz, int* exposure);
+float getLinePos(AnalogIn cam,
+                 DigitalOut *camSi,
+                 DigitalOut *camClk,
+                 int *exposure,
+                 telemetry::NumericArray<uint16_t, NUM_PIX> &tele_linescan,
+                 telemetry::NumericArray<uint16_t, NUM_PIX> &tele_linescan_diff);
+float getLinePos2(AnalogIn cam,
+                  DigitalOut *camSi,
+                  DigitalOut *camClk,
+                  int *exposure);
 extern MODSERIAL serial;
\ No newline at end of file