Moved to Team 9.
Fork of LineScan by
Diff: LineScan.h
- Revision:
- 18:8a65598abf2f
- Parent:
- 14:928254a609cb
- Child:
- 19:5a29c887c8eb
diff -r 4ba196fe78ea -r 8a65598abf2f LineScan.h --- a/LineScan.h Sat Apr 18 17:58:27 2015 +0000 +++ b/LineScan.h Wed Apr 22 02:05:47 2015 +0000 @@ -1,6 +1,7 @@ #include "mbed.h" #include "rtos.h" #include "telemetry-mbed.h" +#include "MODSERIAL.h" #define NUM_PIX 128 #define SKIP 15 @@ -12,10 +13,11 @@ uint16_t read1Bit(AnalogIn cam, DigitalOut *camClk); void startRead(DigitalOut *camSi, DigitalOut *camClk); -float processFn(uint16_t *array, int arraySz, int* exposure, telemetry::NumericArray<uint16_t, NUM_PIX - 2 * SKIP> &tele_linescan_diff); +float processFn(uint16_t *array, int arraySz, int* exposure, telemetry::NumericArray<uint16_t, NUM_PIX> &tele_linescan_diff); float getLinePos(AnalogIn cam, DigitalOut *camSi, DigitalOut *camClk, int *exposure, - telemetry::NumericArray<uint16_t, 128> &tele_linescan, - telemetry::NumericArray<uint16_t, NUM_PIX - 2 * SKIP> &tele_linescan_diff); \ No newline at end of file + telemetry::NumericArray<uint16_t, NUM_PIX> &tele_linescan, + telemetry::NumericArray<uint16_t, NUM_PIX> &tele_linescan_diff); +extern MODSERIAL serial; \ No newline at end of file