17 void setup()
override;
This Class provides the methods to read/write bytes from/to an i2c device.
void change_address(uint8_t address)
Store a new I2C address in the board's EEPROM and talk to it there from now on.
void register_switch(uint8_t channel, switch_::Switch *sw)
std::array< switch_::Switch *, 8 > switches_
void dump_config() override
bool set_relay(uint8_t channel, bool on)
Switch relay channel (0-7) on or off; returns false when the write failed.
uint8_t firmware_version_
Base class for all switches.