7static const char *
const TAG =
"mcp23008";
10 ESP_LOGCONFIG(TAG,
"Setting up MCP23008...");
virtual void mark_failed()
Mark this component as failed.
bool write_byte(uint8_t a_register, uint8_t data, bool stop=true)
bool read_byte(uint8_t a_register, uint8_t *data, bool stop=true)
bool write_reg(uint8_t reg, uint8_t value) override
void dump_config() override
bool read_reg(uint8_t reg, uint8_t *value) override
Providing packet encoding functions for exchanging data with a remote host.