TSL1401 is the line sensor camera.This library is used to read the raw data. modified Polytec paris sud
Fork of TSL1401 by
Diff: TSL1401.h
- Revision:
- 0:71198cb26156
- Child:
- 1:7a8ca2147516
diff -r 000000000000 -r 71198cb26156 TSL1401.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/TSL1401.h Sun Oct 05 04:12:56 2014 +0000 @@ -0,0 +1,22 @@ +#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 \ No newline at end of file