ESPHome 2025.5.0
Loading...
Searching...
No Matches
tlc5971_output.h
Go to the documentation of this file.
1#pragma once
2
4
6
7#include "../tlc5971.h"
8
9namespace esphome {
10namespace tlc5971 {
11
12class TLC5971Channel : public output::FloatOutput, public Parented<TLC5971> {
13 public:
14 void set_channel(uint8_t channel) { this->channel_ = channel; }
15
16 protected:
17 void write_state(float state) override;
18 uint8_t channel_;
19};
20
21} // namespace tlc5971
22} // namespace esphome
Helper class to easily give an object a parent of type T.
Definition helpers.h:538
Base class for all output components that can output a variable level, like PWM.
void set_channel(uint8_t channel)
void write_state(float state) override
bool state
Definition fan.h:0
Providing packet encoding functions for exchanging data with a remote host.
Definition a01nyub.cpp:7