ESPHome 2026.6.0-dev
Loading...
Searching...
No Matches
tlc5947_output.h
Go to the documentation of this file.
1#pragma once
2
4
6
7#include "../tlc5947.h"
8
9namespace esphome::tlc5947 {
10
11class TLC5947Channel : public output::FloatOutput, public Parented<TLC5947> {
12 public:
13 void set_channel(uint16_t channel) { this->channel_ = channel; }
14
15 protected:
16 void write_state(float state) override;
17 uint16_t channel_;
18};
19
20} // namespace esphome::tlc5947
Helper class to easily give an object a parent of type T.
Definition helpers.h:1861
Base class for all output components that can output a variable level, like PWM.
void set_channel(uint16_t channel)
void write_state(float state) override
bool state
Definition fan.h:2