ESPHome 2026.8.0-dev
Loading...
Searching...
No Matches
micronova_button.h
Go to the documentation of this file.
1#pragma once
2
6
7namespace esphome::micronova {
8
9class MicroNovaButton final : public Component, public button::Button, public MicroNovaBaseListener {
10 public:
12 void dump_config() override;
13
14 void set_memory_data(uint8_t f) { this->memory_data_ = f; }
15 uint8_t get_memory_data() { return this->memory_data_; }
16
17 protected:
18 void press_action() override;
19
20 uint8_t memory_data_ = 0;
21};
22
23} // namespace esphome::micronova
uint8_t m
Definition bl0906.h:1
Base class for all buttons.
Definition button.h:25