48 void begin()
override;
60 void writeRegister(uint8_t addr, uint8_t reg, uint8_t val)
override;
Minimal abstract I2C interface consumed by MCP23017Driver.
Abstract I2C bus interface.
Definition I2CInterface.h:28
I2CInterface implementation that delegates to the Arduino Wire library.
Definition WireI2C.h:37
void writeRegister(uint8_t addr, uint8_t reg, uint8_t val) override
Write val to register reg on device at 7-bit address addr.
Definition WireI2C.cpp:14
WireI2C()
Definition WireI2C.h:39
void begin() override
Initialize the I2C bus by calling Wire.begin().
Definition WireI2C.cpp:9