Moved to Team 9.

Fork of LineScan by Nicholas Gan

Committer:
ikrase
Date:
Thu Apr 09 18:08:39 2015 +0000
Revision:
10:6b6c3db74538
Parent:
8:b9ec2f3e12b6
Child:
14:928254a609cb
Re-actvated telemetry stuff.

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 6:984ccef5ca19 3 #include "telemetry-mbed.h"
ng3600 0:2d546112b0b8 4
ng3600 0:2d546112b0b8 5 #define NUM_PIX 128
ng3600 8:b9ec2f3e12b6 6 #define SKIP 15
ng3600 0:2d546112b0b8 7
ikrase 1:f10ec868cd71 8 /** Linescan functions (Nicholas Gan)
ikrase 1:f10ec868cd71 9 * to capture linescan frames and process them.
ikrase 1:f10ec868cd71 10 */
ikrase 1:f10ec868cd71 11
ng3600 0:2d546112b0b8 12 uint16_t read1Bit(AnalogIn cam, DigitalOut *camClk);
ng3600 0:2d546112b0b8 13 void startRead(DigitalOut *camSi, DigitalOut *camClk);
ng3600 8:b9ec2f3e12b6 14 float processFn(uint16_t *array, int arraySz, int* exposure);
ikrase 10:6b6c3db74538 15 float getLinePos(AnalogIn cam, DigitalOut *camSi, DigitalOut *camClk, int *exposure, telemetry::NumericArray<uint16_t, 128> &tele_linescan);