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

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers TSL1401.h Source File

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