ESPHome
2025.5.2
Toggle main menu visibility
Main Page
Topics
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
y
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Typedefs
a
b
d
e
f
i
j
l
m
n
o
p
q
r
s
t
u
v
Enumerations
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
z
Enumerator
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
Data Fields
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
c
d
o
p
s
t
v
w
Enumerations
b
c
e
f
i
m
n
p
r
s
t
v
w
Enumerator
a
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
v
w
Related Symbols
Files
File List
Globals
All
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
l
m
o
p
s
t
u
Variables
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Typedefs
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Modules
Pages
Loading...
Searching...
No Matches
esphome
components
tlc5971
output
tlc5971_output.cpp
Go to the documentation of this file.
1
#include "
tlc5971_output.h
"
2
3
namespace
esphome
{
4
namespace
tlc5971 {
5
6
void
TLC5971Channel::write_state
(
float
state
) {
7
auto
amount =
static_cast<
uint16_t
>
(
state
* 0xffff);
8
this->
parent_
->set_channel_value(this->
channel_
, amount);
9
}
6
void
TLC5971Channel::write_state
(
float
state
) {
…
}
10
11
}
// namespace tlc5971
4
namespace
tlc5971 {
…
}
12
}
// namespace esphome
esphome::Parented< TLC5971 >::parent_
TLC5971 * parent_
Definition
helpers.h:550
esphome::tlc5971::TLC5971Channel::channel_
uint8_t channel_
Definition
tlc5971_output.h:18
esphome::tlc5971::TLC5971Channel::write_state
void write_state(float state) override
Definition
tlc5971_output.cpp:6
state
bool state
Definition
fan.h:0
esphome
Providing packet encoding functions for exchanging data with a remote host.
Definition
a01nyub.cpp:7
tlc5971_output.h
Generated by
1.12.0