ESPHome 2025.5.0
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 ESP_LOGCONFIG(TAG, "Setting up ttp229_bsf... ");
11 this->sdo_pin_->setup();
12 this->scl_pin_->setup();
13 this->scl_pin_->digital_write(true);
14 delay(2);
15}
17 ESP_LOGCONFIG(TAG, "ttp229:");
18 LOG_PIN(" SCL pin: ", this->scl_pin_);
19 LOG_PIN(" SDO pin: ", this->sdo_pin_);
20}
21
22} // namespace ttp229_bsf
23} // 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:28