public class DaBouncer
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
int |
dbnc
Debounce time (in loops)
|
double |
threshold
Debouncer threshold (for "above" or "below" calculation)
|
| Constructor and Description |
|---|
DaBouncer()
Constsructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
AboveDebounce(double input)
Call once per periodic loop.
|
boolean |
AboveDebounceBoo(boolean b) |
boolean |
BelowDebounce(double input)
Call once per periodic loop.
|
public double threshold
public int dbnc
public DaBouncer()
public boolean AboveDebounce(double input)
input - Signal to debouncepublic boolean AboveDebounceBoo(boolean b)
public boolean BelowDebounce(double input)
input - Signal to debounce