Interface BDebounceRC
- All Superinterfaces:
BFilter
- All Known Implementing Classes:
BDebounceRC.Both
,BDebounceRC.Falling
,BDebounceRC.Rising
An RC Debounce class takes the average of the past few boolean values to remove noise.
Recommended to be called very often using a PollingBStream.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
An RC Debouncer that has a bias towards the previous valuestatic class
An RC Debouncer that has a false biasstatic class
An RC Debouncer that has a true bias -
Field Summary
Modifier and TypeFieldDescriptionstatic final double
static final double
static final double
static final double
-
Method Summary
-
Field Details
-
kTrue
static final double kTrue- See Also:
-
kFalse
static final double kFalse- See Also:
-
kLowerLimit
static final double kLowerLimit- See Also:
-
kUpperLimit
static final double kUpperLimit- See Also:
-