2017_hongo_Bteam

Dependents:   DataPool

BetaTransporter.h

Committer:
Komazawa_sun
Date:
2017-08-18
Revision:
0:31116bc8d4a7
Child:
1:a2572a29fe59

File content as of revision 0:31116bc8d4a7:

#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 BETA_TRANSPORTER_H
#define BETA_TRANSPORTER_H

#include "DataPool.h"
#include "BetaPool.h"
#include "I2CTransporter.h"

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

#endif