Moved to Team 9.

Fork of LineScan by Nicholas Gan

Committer:
ikrase
Date:
Tue Mar 31 19:10:18 2015 +0000
Revision:
4:91e7f2c8999f
Parent:
1:f10ec868cd71
Child:
5:9c19face64a7
telemetry changes to getlinepos

Who changed what in which revision?

UserRevisionLine numberNew contents of line
ng3600 0:2d546112b0b8 1 #include "mbed.h"
ng3600 0:2d546112b0b8 2 #include "rtos.h"
ikrase 4:91e7f2c8999f 3 #include "telemetry-mbed.h"
ng3600 0:2d546112b0b8 4
ng3600 0:2d546112b0b8 5 #define NUM_PIX 128
ng3600 0:2d546112b0b8 6
ikrase 1:f10ec868cd71 7 /** Linescan functions (Nicholas Gan)
ikrase 1:f10ec868cd71 8 * to capture linescan frames and process them.
ikrase 1:f10ec868cd71 9 */
ikrase 1:f10ec868cd71 10
ng3600 0:2d546112b0b8 11 uint16_t read1Bit(AnalogIn cam, DigitalOut *camClk);
ng3600 0:2d546112b0b8 12 void startRead(DigitalOut *camSi, DigitalOut *camClk);
ng3600 0:2d546112b0b8 13 int processFn(uint16_t *array, int arraySz);
ikrase 4:91e7f2c8999f 14 int getLinePos(AnalogIn cam, DigitalOut *camSi, DigitalOut *camClk, telemetry::NumericArray<uint16_t, 128> &tele_linescan);