for_gamma

Dependents:   DataPool

GammaTransporter.h

Committer:
Komazawa_sun
Date:
2017-08-18
Revision:
1:8eeedbc40657
Parent:
0:519ec302e9b8
Child:
2:dbb9a7fe426b

File content as of revision 1:8eeedbc40657:

#ifndef SDA
#define SDA PB_7
#endif

#ifndef SCL
#define SCL PB_6
#endif

#ifndef SCL
#define SCL PB_6
#endif

#ifndef JUSHINKUN_ADDR
#define JUSHINKUN_ADDR 0x12
#endif

#ifndef APPER_BODY_ADDR
#define APPER_BODY_ADDR 0x11
#endif

#ifndef GAMMA_TRANSPORTER_H
#define GAMMA_TRANSPORTER_H

#include "DataPool.h"
#include "GammaPool.h"
#include "I2CTransporter.h"

class GammaTransporter : public DataPool
{
    public:
        GammaTransporter();
    
        virtual bool set();
        virtual int read(int index_num);
        virtual void reset();
        
        GammaPool pool;
        
    private:
        I2CTransporter i2c;
};

#endif