7 static const char *
const TAG =
"ttp229_lsf";
10 ESP_LOGCONFIG(TAG,
"Setting up ttp229...");
19 ESP_LOGCONFIG(TAG,
"ttp229:");
21 switch (this->error_code_) {
23 ESP_LOGE(TAG,
"Communication with TTP229 failed!");
40 channel->process(touched);
uint16_t i2ctohs(uint16_t i2cshort)
void status_set_warning(const char *message="unspecified")
ErrorCode read(uint8_t *data, size_t len)
reads an array of bytes from the device using an I2CBus
std::vector< TTP229Channel * > channels_
uint8_t reverse_bits(uint8_t x)
Reverse the order of 8 bits.
void dump_config() override
No error found during execution of method.
void status_clear_warning()
virtual void mark_failed()
Mark this component as failed.
Implementation of SPI Controller mode.
enum esphome::ttp229_lsf::TTP229LSFComponent::ErrorCode NONE