/* * i2csensor.h * * Created on: 18.12.2017 * Author: steffen */ #ifndef I2CSENSOR_H_ #define I2CSENSOR_H_ #include #include #include #include #include using namespace std; class I2C { private: int i2cdev; public: I2C (); ~I2C (); bool ReadByte(int addr, int reg, uint8_t *readval); bool SendByte(int addr, int reg, uint8_t data); }; #endif /* I2CSENSOR_H_ */