ESPHome  2024.11.3
lilygo_t5_47_touchscreen.h
Go to the documentation of this file.
1 #pragma once
2 
7 #include "esphome/core/hal.h"
8 
9 #include <vector>
10 
11 namespace esphome {
12 namespace lilygo_t5_47 {
13 
14 using namespace touchscreen;
15 
17  public:
18  void setup() override;
19 
20  void dump_config() override;
21 
22  void set_interrupt_pin(InternalGPIOPin *pin) { this->interrupt_pin_ = pin; }
23 
24  protected:
25  void update_touches() override;
26 
28 };
29 
30 } // namespace lilygo_t5_47
31 } // namespace esphome
void setup()
Implementation of SPI Controller mode.
Definition: a01nyub.cpp:7
This Class provides the methods to read/write bytes from/to an i2c device.
Definition: i2c.h:133