ESPHome 2026.5.1
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
5
6static const char *const TAG = "ttp229_bsf";
7
9 this->sdo_pin_->setup();
10 this->scl_pin_->setup();
11 this->scl_pin_->digital_write(true);
12 delay(2);
13}
15 ESP_LOGCONFIG(TAG, "ttp229:");
16 LOG_PIN(" SCL pin: ", this->scl_pin_);
17 LOG_PIN(" SDO pin: ", this->sdo_pin_);
18}
19
20} // namespace esphome::ttp229_bsf
virtual void setup()=0
virtual void digital_write(bool value)=0
void HOT delay(uint32_t ms)
Definition hal.cpp:85