FastLED
3.9.15
Loading...
Searching...
No Matches
◆
ButtonStrategy
enum
fl::ButtonStrategy
Enumerator
kHighLowFloating
kPullUp
Definition at line
13
of file
button.h
.
13
{
14
15
// FastLED doesn't have reliable support for pullups/pulldowns.
16
// So we instead use a strategy where the pin is set to high, then
17
// checked if it's high, then set to low, and then checked if it's low
18
// if this is the case, then the pin is floating and thefore the button
19
// is not
20
// being pressed.
21
kHighLowFloating
,
22
kPullUp
,
23
24
};
fl::kHighLowFloating
@ kHighLowFloating
Definition
button.h:21
fl::kPullUp
@ kPullUp
Definition
button.h:22
fl
Generated on Thu Jun 5 2025 04:29:40 for FastLED by
1.13.2