44 this->allow_multiple_touches_ = allow_multiple_touches ? 0x41 : 0x80;
47 void setup()
override;
48 void dump_config()
override;
53 std::vector<CAP1188Channel *> channels_{};
54 uint8_t touch_threshold_{0x20};
55 uint8_t allow_multiple_touches_{0x80};
59 uint8_t cap1188_product_id_{0};
60 uint8_t cap1188_manufacture_id_{0};
61 uint8_t cap1188_revision_{0};
void set_allow_multiple_touches(bool allow_multiple_touches)
const float DATA
For components that import data from directly connected sensors like DHT.
float get_setup_priority() const override
void set_touch_threshold(uint8_t touch_threshold)
void process(uint8_t data)
void set_reset_pin(GPIOPin *reset_pin)
void publish_state(bool state)
Publish a new state to the front-end.
Implementation of SPI Controller mode.
Base class for all binary_sensor-type classes.
void set_channel(uint8_t channel)
This Class provides the methods to read/write bytes from/to an i2c device.
void register_channel(CAP1188Channel *channel)