Moved to Team 9.
Fork of LineScan by
LineScan.h@12:ce6d9f7dc76e, 2015-04-09 (annotated)
- Committer:
- ng3600
- Date:
- Thu Apr 09 19:23:35 2015 +0000
- Revision:
- 12:ce6d9f7dc76e
- Parent:
- 8:b9ec2f3e12b6
- Child:
- 14:928254a609cb
Telemetry running code
Who changed what in which revision?
User | Revision | Line number | New 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); |
ng3600 | 12:ce6d9f7dc76e | 15 | float getLinePos(AnalogIn cam, DigitalOut *camSi, DigitalOut *camClk, int *exposure, telemetry::NumericArray<uint16_t, 128> &tele_linescan); |