ESPHome 2025.9.0-dev
Loading...
Searching...
No Matches
ttp229_bsf.cpp
Go to the documentation of this file.
1#include "ttp229_bsf.h"
2#include "esphome/core/log.h"
3
4namespace esphome {
5namespace ttp229_bsf {
6
7static const char *const TAG = "ttp229_bsf";
8
10 this->sdo_pin_->setup();
11 this->scl_pin_->setup();
12 this->scl_pin_->digital_write(true);
13 delay(2);
14}
16 ESP_LOGCONFIG(TAG, "ttp229:");
17 LOG_PIN(" SCL pin: ", this->scl_pin_);
18 LOG_PIN(" SDO pin: ", this->sdo_pin_);
19}
20
21} // namespace ttp229_bsf
22} // namespace esphome
virtual void setup()=0
virtual void digital_write(bool value)=0
Providing packet encoding functions for exchanging data with a remote host.
Definition a01nyub.cpp:7
void IRAM_ATTR HOT delay(uint32_t ms)
Definition core.cpp:29