ESPHome  2024.5.0
micronova_button.h
Go to the documentation of this file.
1 #pragma once
2 
6 
7 namespace esphome {
8 namespace micronova {
9 
11  public:
13  void dump_config() override { LOG_BUTTON("", "Micronova button", this); }
14 
15  void set_memory_data(uint8_t f) { this->memory_data_ = f; }
16  uint8_t get_memory_data() { return this->memory_data_; }
17 
18  protected:
19  void press_action() override;
20 };
21 
22 } // namespace micronova
23 } // namespace esphome
Base class for all buttons.
Definition: button.h:29
uint8_t m
Definition: bl0939.h:20
This is a workaround until we can figure out a way to get the tflite-micro idf component code availab...
Definition: a01nyub.cpp:7