16 ESP_LOGCONFIG(TAG,
"ttp229:");
26 channel->process(touched);
void mark_failed()
Mark this component as failed.
bool status_comm_result(bool ok)
Clears the warning when ok, else sets it with message (default "Communication failed"); returns ok.
ErrorCode read(uint8_t *data, size_t len) const
reads an array of bytes from the device using an I2CBus
std::vector< TTP229Channel * > channels_
void dump_config() override
uint16_t i2ctohs(uint16_t i2cshort)
@ ERROR_OK
No error found during execution of method.
ESPHOME_LOG_TAG(TAG, "ttp229_lsf")
uint8_t reverse_bits(uint8_t x)
Reverse the order of 8 bits.