Moved to Team 9.
Fork of LineScan by
LineScan.h
- Committer:
- ikrase
- Date:
- 2015-04-09
- Revision:
- 10:6b6c3db74538
- Parent:
- 8:b9ec2f3e12b6
- Child:
- 14:928254a609cb
File content as of revision 10:6b6c3db74538:
#include "mbed.h" #include "rtos.h" #include "telemetry-mbed.h" #define NUM_PIX 128 #define SKIP 15 /** Linescan functions (Nicholas Gan) * to capture linescan frames and process them. */ uint16_t read1Bit(AnalogIn cam, DigitalOut *camClk); void startRead(DigitalOut *camSi, DigitalOut *camClk); 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);