TSL1401 is the line sensor camera.This library is used to read the raw data. modified Polytec paris sud

Dependents:   app-board-ccd_copy

Fork of TSL1401 by tanabe hitoshi

Committer:
bouaziz
Date:
Fri Jan 26 10:52:00 2018 +0000
Revision:
1:7a8ca2147516
Parent:
0:71198cb26156
test modif CCD polytech paris Sud;

Who changed what in which revision?

UserRevisionLine numberNew contents of line
ht 0:71198cb26156 1 #ifndef TSL1401_H
ht 0:71198cb26156 2 #define TSL1401_H
ht 0:71198cb26156 3
ht 0:71198cb26156 4 #include "mbed.h"
bouaziz 1:7a8ca2147516 5 #include <FastAnalogIn.h>
bouaziz 1:7a8ca2147516 6
ht 0:71198cb26156 7 class TSL1401
ht 0:71198cb26156 8 {
ht 0:71198cb26156 9 public:
ht 0:71198cb26156 10 TSL1401(PinName s, PinName c, PinName a );
ht 0:71198cb26156 11 ~TSL1401();
ht 0:71198cb26156 12 int *Capture( int LineStart, int LineStop); /*caputure image */
ht 0:71198cb26156 13
ht 0:71198cb26156 14
ht 0:71198cb26156 15 int ImageData[128]; /* カメラの値 */
ht 0:71198cb26156 16 int Max,Min; /*カメラ読み取り最大値、最小値 */
ht 0:71198cb26156 17 private:
ht 0:71198cb26156 18 PinName SI;
ht 0:71198cb26156 19 PinName CLK;
ht 0:71198cb26156 20 AnalogIn *A0;
bouaziz 1:7a8ca2147516 21
ht 0:71198cb26156 22 };
ht 0:71198cb26156 23 #endif