ESPHome 2026.5.0b1
Loading...
Searching...
No Matches
tm1638_key.h
Go to the documentation of this file.
1#pragma once
2
4#include "../tm1638.h"
5
6namespace esphome::tm1638 {
7
9 public:
10 void set_keycode(uint8_t key_code) { key_code_ = key_code; };
11 void keys_update(uint8_t keys) override;
12
13 protected:
14 uint8_t key_code_{0};
15};
16
17} // namespace esphome::tm1638
Base class for all binary_sensor-type classes.
void keys_update(uint8_t keys) override
Definition tm1638_key.cpp:5
void set_keycode(uint8_t key_code)
Definition tm1638_key.h:10