ESPHome  2024.9.2
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
Implementation of SPI Controller mode.
Definition: a01nyub.cpp:7
uint8_t m
Definition: bl0906.h:208