17 void setup()
override;
This Class provides the methods to read/write bytes from/to an i2c device.
std::array< switch_::Switch *, 4 > switches_
void register_switch(uint8_t channel, switch_::Switch *sw)
void dump_config() override
bool set_relay(uint8_t channel, bool on)
Switch relay channel (0-3) on or off; returns false when the write failed.
Base class for all switches.