ESPHome  2024.4.0
ttp229_bsf.cpp
Go to the documentation of this file.
1 #include "ttp229_bsf.h"
2 #include "esphome/core/log.h"
3 
4 namespace esphome {
5 namespace ttp229_bsf {
6 
7 static 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 digital_write(bool value)=0
virtual void setup()=0
This is a workaround until we can figure out a way to get the tflite-micro idf component code availab...
Definition: a01nyub.cpp:7
void IRAM_ATTR HOT delay(uint32_t ms)
Definition: core.cpp:26