Class BDebounceRC.Falling

java.lang.Object
com.stuypulse.stuylib.streams.booleans.filters.BDebounceRC.Falling
All Implemented Interfaces:
BDebounceRC, BFilter
Enclosing interface:
BDebounceRC

public static class BDebounceRC.Falling extends Object implements BDebounceRC
An RC Debouncer that has a false bias
  • Constructor Details

    • Falling

      public Falling(Number debounceTime)
      Parameters:
      debounceTime - amount of time on average to go from true to false
  • Method Details

    • get

      public boolean get(boolean next)
      Description copied from interface: BFilter
      Get next value in Filter based on the next value given
      Specified by:
      get in interface BFilter
      Parameters:
      next - next input value in the stream
      Returns:
      the output value of the filter