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

TSL1401.h

Committer:
bouaziz
Date:
2018-01-26
Revision:
1:7a8ca2147516
Parent:
0:71198cb26156

File content as of revision 1:7a8ca2147516:

#ifndef TSL1401_H
#define TSL1401_H

#include "mbed.h"
#include <FastAnalogIn.h>

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