7 static const char *
const TAG =
"output.button";
10 LOG_BUTTON(
"",
"Output Button",
this);
11 ESP_LOGCONFIG(TAG,
" Duration: %.1fs", this->
duration_ / 1e3f);
virtual void turn_on()
Enable this binary output.
virtual void turn_off()
Disable this binary output.
void set_timeout(const std::string &name, uint32_t timeout, std::function< void()> &&f)
Set a timeout function with a unique name.
This is a workaround until we can figure out a way to get the tflite-micro idf component code availab...