Moved to Team 9.

Fork of LineScan by Nicholas Gan

LineScan.h

Committer:
ikrase
Date:
2015-03-31
Revision:
5:9c19face64a7
Parent:
3:f31986cb68fd
Parent:
4:91e7f2c8999f

File content as of revision 5:9c19face64a7:

#include "mbed.h"
#include "rtos.h"
#include "telemetry-mbed.h"

#define NUM_PIX 128

/** Linescan functions (Nicholas Gan)
 * to capture linescan frames and process them. 
  */

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);