Moved to Team 9.
Fork of LineScan by
Diff: LineScan.h
- Revision:
- 8:b9ec2f3e12b6
- Parent:
- 7:7d3b6edd783e
- Child:
- 10:6b6c3db74538
--- a/LineScan.h Tue Mar 31 23:34:18 2015 +0000 +++ b/LineScan.h Thu Apr 02 18:38:29 2015 +0000 @@ -3,6 +3,7 @@ #include "telemetry-mbed.h" #define NUM_PIX 128 +#define SKIP 15 /** Linescan functions (Nicholas Gan) * to capture linescan frames and process them. @@ -10,5 +11,5 @@ uint16_t read1Bit(AnalogIn cam, DigitalOut *camClk); void startRead(DigitalOut *camSi, DigitalOut *camClk); -int processFn(uint16_t *array, int arraySz, int* exposure); -int getLinePos(AnalogIn cam, DigitalOut *camSi, DigitalOut *camClk, int *exposure);// , telemetry::NumericArray<uint16_t, 128> &tele_linescan); \ No newline at end of file +float processFn(uint16_t *array, int arraySz, int* exposure); +float getLinePos(AnalogIn cam, DigitalOut *camSi, DigitalOut *camClk, int *exposure);// , telemetry::NumericArray<uint16_t, 128> &tele_linescan); \ No newline at end of file