alpha_datapool

Dependents:   DataPool ctrl

AlphaTransporter.h

Committer:
Komazawa_sun
Date:
2017-08-30
Revision:
0:2c82568e1790
Child:
1:51a5a9f66f61

File content as of revision 0:2c82568e1790:

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

#include "DataPool.h"
#include "AlphaPool.h"
#include "I2CTransporter.h"

class AlphaTransporter : public DataPool
{
    public:
        AlphaTransporter();
    
        virtual bool set();
        virtual void write(int index_num, int data);
        virtual int read(int index_num);
        virtual void reset();
        
        AlphaPool pool;
        
    private:
        I2CTransporter i2c;
};

#endif