Moved to Team 9.

Fork of LineScan by Nicholas Gan

Committer:
ikrase
Date:
Sat May 23 06:11:19 2015 +0000
Revision:
30:c775c6d13cdb
Parent:
28:3006d46dcec5
derp;

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 18:8a65598abf2f 4 #include "MODSERIAL.h"
ng3600 0:2d546112b0b8 5
ng3600 0:2d546112b0b8 6 #define NUM_PIX 128
ng3600 8:b9ec2f3e12b6 7 #define SKIP 15
ikrase 30:c775c6d13cdb 8 #define UPDATE_RATE 10 //ms
ng3600 0:2d546112b0b8 9
ikrase 1:f10ec868cd71 10 /** Linescan functions (Nicholas Gan)
ikrase 1:f10ec868cd71 11 * to capture linescan frames and process them.
ikrase 1:f10ec868cd71 12 */
ikrase 1:f10ec868cd71 13
ng3600 0:2d546112b0b8 14 uint16_t read1Bit(AnalogIn cam, DigitalOut *camClk);
ng3600 0:2d546112b0b8 15 void startRead(DigitalOut *camSi, DigitalOut *camClk);
ng3600 20:e9f0d1483ba1 16 float processFn(uint16_t *array, int arraySz, int* exposure);
ng3600 14:928254a609cb 17 float getLinePos(AnalogIn cam,
ng3600 14:928254a609cb 18 DigitalOut *camSi,
ng3600 14:928254a609cb 19 DigitalOut *camClk,
ng3600 14:928254a609cb 20 int *exposure,
ng3600 20:e9f0d1483ba1 21 telemetry::NumericArray<uint16_t, NUM_PIX> &tele_linescan);
ng3600 18:8a65598abf2f 22 extern MODSERIAL serial;