ESPHome 2026.6.0-dev
Loading...
Searching...
No Matches
ektf2232.h
Go to the documentation of this file.
1#pragma once
2
7#include "esphome/core/hal.h"
8
9namespace esphome::ektf2232 {
10
11using namespace touchscreen;
12
14 public:
15 void setup() override;
16 void dump_config() override;
17
19 void set_reset_pin(GPIOPin *pin) { this->reset_pin_ = pin; }
20
21 void set_power_state(bool enable);
22 bool get_power_state();
23
24 protected:
25 void hard_reset_();
26 bool soft_reset_();
27 void update_touches() override;
28
31};
32
33} // namespace esphome::ektf2232
void set_interrupt_pin(InternalGPIOPin *pin)
Definition ektf2232.h:18
This Class provides the methods to read/write bytes from/to an i2c device.
Definition i2c.h:132