2017 hongo b team
Fork of Alpha_Apper by
Diff: ApprI2CMaster.h
- Revision:
- 1:16f3ffabd868
- Parent:
- 0:11209e14c06c
--- a/ApprI2CMaster.h Fri Sep 08 03:27:32 2017 +0000 +++ b/ApprI2CMaster.h Mon Sep 11 04:55:39 2017 +0000 @@ -1,23 +1,23 @@ #ifndef APPR_I2C_MASTER_H #define APPR_I2C_MASTER_H -#include "Alpha_ApprI2C_ID.h" +#include "Beta_ApprI2C_ID.h" #include "I2CTransporter.h" class ApprI2CMaster { public: - ApprI2CMaster(alpha_a::ID my_id_, alpha_a::f_type my_type_, int addr_, I2C *master_); + ApprI2CMaster(beta_a::ID my_id_, beta_a::f_type my_type_, int addr_, I2C *master_); void write(uint8_t data); int read(); private: - alpha_a::ID _my_id; - alpha_a::f_type _my_type; + beta_a::ID _my_id; + beta_a::f_type _my_type; I2C *_master; int _addr; - + int res_data; };