TSL1401 is the line sensor camera.This library is used to read the raw data. modified Polytec paris sud
Fork of TSL1401 by
TSL1401.h
- Committer:
- ht
- Date:
- 2014-10-05
- Revision:
- 0:71198cb26156
- Child:
- 1:7a8ca2147516
File content as of revision 0:71198cb26156:
#ifndef TSL1401_H #define TSL1401_H #include "mbed.h" #include "USBSerial.h" extern USBSerial serial; class TSL1401 { public: TSL1401(PinName s, PinName c, PinName a ); ~TSL1401(); int *Capture( int LineStart, int LineStop); /*caputure image */ int ImageData[128]; /* カメラの値 */ int Max,Min; /*カメラ読み取り最大値、最小値 */ private: PinName SI; PinName CLK; AnalogIn *A0; }; #endif