ESPHome 2025.5.0
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 {
10namespace ektf2232 {
11
12using namespace touchscreen;
13
15 public:
16 void setup() override;
17 void dump_config() override;
18
20 void set_rts_pin(GPIOPin *pin) { this->rts_pin_ = pin; }
21
22 void set_power_state(bool enable);
23 bool get_power_state();
24
25 protected:
26 void hard_reset_();
27 bool soft_reset_();
28 void update_touches() override;
29
32};
33
34} // namespace ektf2232
35} // namespace esphome
void set_interrupt_pin(InternalGPIOPin *pin)
Definition ektf2232.h:19
This Class provides the methods to read/write bytes from/to an i2c device.
Definition i2c.h:133
Providing packet encoding functions for exchanging data with a remote host.
Definition a01nyub.cpp:7