2017_hongo_Bteam
BetaTransporter.h
- Committer:
- Komazawa_sun
- Date:
- 2017-08-25
- Revision:
- 1:a2572a29fe59
- Parent:
- 0:31116bc8d4a7
File content as of revision 1:a2572a29fe59:
#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 write(int index_num, int data); virtual void reset(); BetaPool pool; private: I2CTransporter i2c; }; #endif