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
00001 #ifndef TSL1401_H 00002 #define TSL1401_H 00003 00004 #include "mbed.h" 00005 #include <FastAnalogIn.h> 00006 00007 class TSL1401 00008 { 00009 public: 00010 TSL1401(PinName s, PinName c, PinName a ); 00011 ~TSL1401(); 00012 int *Capture( int LineStart, int LineStop); /*caputure image */ 00013 00014 00015 int ImageData[128]; /* カメラの値 */ 00016 int Max,Min; /*カメラ読み取り最大値、最小値 */ 00017 private: 00018 PinName SI; 00019 PinName CLK; 00020 AnalogIn *A0; 00021 00022 }; 00023 #endif
Generated on Mon Jul 25 2022 21:23:33 by 1.7.2