Class BDebounceRC.Both
java.lang.Object
com.stuypulse.stuylib.streams.booleans.filters.BDebounceRC.Both
- All Implemented Interfaces:
BDebounceRC
,BFilter
- Enclosing interface:
- BDebounceRC
An RC Debouncer that has a bias towards the previous value
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.stuypulse.stuylib.streams.booleans.filters.BDebounceRC
BDebounceRC.Both, BDebounceRC.Falling, BDebounceRC.Rising
-
Field Summary
Fields inherited from interface com.stuypulse.stuylib.streams.booleans.filters.BDebounceRC
kFalse, kLowerLimit, kTrue, kUpperLimit
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
get
(boolean next) Get next value in Filter based on the next value given
-
Constructor Details
-
Both
- Parameters:
debounceTime
- amount of time on average to change value
-
-
Method Details