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

Fork of TSL1401 by tanabe hitoshi

Committer:
ht
Date:
Sun Oct 05 04:12:56 2014 +0000
Revision:
0:71198cb26156
Child:
1:7a8ca2147516
This library operates the camera using TSL1401.

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"
ht 0:71198cb26156 5 #include "USBSerial.h"
ht 0:71198cb26156 6 extern USBSerial serial;
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;
ht 0:71198cb26156 21 };
ht 0:71198cb26156 22 #endif