FastLED 3.9.15
Loading...
Searching...
No Matches

◆ 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.
22 kPullUp,
23
24};
@ kHighLowFloating
Definition button.h:21
@ kPullUp
Definition button.h:22