ESPHome  2024.12.2
axs15231_touchscreen.h
Go to the documentation of this file.
1 #pragma once
2 
6 #include "esphome/core/hal.h"
7 
8 namespace esphome {
9 namespace axs15231 {
10 
12  public:
13  void setup() override;
14  void dump_config() override;
15 
16  void set_interrupt_pin(InternalGPIOPin *pin) { this->interrupt_pin_ = pin; }
17  void set_reset_pin(GPIOPin *pin) { this->reset_pin_ = pin; }
18 
19  protected:
20  void update_touches() override;
21 
24 };
25 
26 } // namespace axs15231
27 } // namespace esphome
void set_interrupt_pin(InternalGPIOPin *pin)
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