Moved to Team 9.

Fork of LineScan by Nicholas Gan

Revision:
12:ce6d9f7dc76e
Parent:
11:5e66d0531053
Child:
13:c17cf029d899
diff -r 5e66d0531053 -r ce6d9f7dc76e LineScan.cpp
--- a/LineScan.cpp	Thu Apr 09 18:11:47 2015 +0000
+++ b/LineScan.cpp	Thu Apr 09 19:23:35 2015 +0000
@@ -73,7 +73,7 @@
 }
 
 //call after integration time is done, returns index of array line is expected to be at and new exposure time
-float getLinePos(AnalogIn cam, DigitalOut *camSi, DigitalOut *camClk, int *exposure){ // telemetry::NumericArray<uint16_t, 128> &tele_linescan){
+float getLinePos(AnalogIn cam, DigitalOut *camSi, DigitalOut *camClk, int *exposure, telemetry::NumericArray<uint16_t, 128> &tele_linescan){
     uint16_t lineAry[NUM_PIX];
     float position;
     
@@ -81,7 +81,7 @@
     startRead(camSi, camClk);
     for(int i = 0; i < NUM_PIX; i++){
         lineAry[i] = read1Bit(cam, camClk);
-        //tele_linescan[i] = lineAry[i];
+        tele_linescan[i] = lineAry[i];
     }
     
     //process line scan data