Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of LineScan by
Diff: LineScan.cpp
- Revision:
- 12:ce6d9f7dc76e
- Parent:
- 11:5e66d0531053
- Child:
- 13:c17cf029d899
--- a/LineScan.cpp Thu Apr 09 18:11:47 2015 +0000 +++ b/LineScan.cpp Thu Apr 09 19:23:35 2015 +0000 @@ -73,7 +73,7 @@ } //call after integration time is done, returns index of array line is expected to be at and new exposure time -float getLinePos(AnalogIn cam, DigitalOut *camSi, DigitalOut *camClk, int *exposure){ // telemetry::NumericArray<uint16_t, 128> &tele_linescan){ +float getLinePos(AnalogIn cam, DigitalOut *camSi, DigitalOut *camClk, int *exposure, telemetry::NumericArray<uint16_t, 128> &tele_linescan){ uint16_t lineAry[NUM_PIX]; float position; @@ -81,7 +81,7 @@ startRead(camSi, camClk); for(int i = 0; i < NUM_PIX; i++){ lineAry[i] = read1Bit(cam, camClk); - //tele_linescan[i] = lineAry[i]; + tele_linescan[i] = lineAry[i]; } //process line scan data