for_gamma

Dependents:   DataPool

GammaTransporter.h

Committer:
Komazawa_sun
Date:
2017-08-18
Revision:
2:dbb9a7fe426b
Parent:
1:8eeedbc40657
Child:
3:8487ffc7b69c

File content as of revision 2:dbb9a7fe426b:

#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 0x0b
#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