ESPHome 2026.5.1
Loading...
Searching...
No Matches
tm1638_output_led.h
Go to the documentation of this file.
1#pragma once
2
5#include "../tm1638.h"
6
7namespace esphome::tm1638 {
8
10 public:
11 void dump_config() override;
12
13 void set_tm1638(TM1638Component *tm1638) { tm1638_ = tm1638; }
14 void set_lednum(int led) { led_ = led; }
15
16 protected:
17 void write_state(bool state) override;
18
20 int led_;
21};
22
23} // namespace esphome::tm1638
void set_tm1638(TM1638Component *tm1638)
void write_state(bool state) override
bool state
Definition fan.h:2