ESPHome  2024.10.2
tm1638_key.h
Go to the documentation of this file.
1 #pragma once
2 
4 #include "../tm1638.h"
5 
6 namespace esphome {
7 namespace tm1638 {
8 
10  public:
11  void set_keycode(uint8_t key_code) { key_code_ = key_code; };
12  void keys_update(uint8_t keys) override;
13 
14  protected:
15  uint8_t key_code_{0};
16 };
17 
18 } // namespace tm1638
19 } // namespace esphome
void set_keycode(uint8_t key_code)
Definition: tm1638_key.h:11
void keys_update(uint8_t keys) override
Definition: tm1638_key.cpp:6
Implementation of SPI Controller mode.
Definition: a01nyub.cpp:7
Base class for all binary_sensor-type classes.
Definition: binary_sensor.h:37