-
Notifications
You must be signed in to change notification settings - Fork 8
Filters
Emits item if is greater than previous received item
OnRising()
Emits item if is smaller than previous received item
OnFalling()
Emits the moving average of received items
MovingAverage(size_t N)
Emits the moving RMS of received items
MovingAverage(size_t N)
Emits the median of three latest received items
Median3()
Emits the median of five latest received items
Median5()
Emits the low pass filter of the received items
LowPass(const double alpha)
Emits the high pass filter of the received items
HighPass(const double alpha)
Emits the stop band filter of the received items
StopBand(const double alpha1, const double alpha2)
Emits the pass band filter of the received items
PassBand(const double alpha1, const double alpha2)
Ignore items received after a time interval
Millis version
DebounceMillis(const unsigned long interval)
Micros version
DebounceMicros(const unsigned long interval)
Emits items received within a time interval
Millis version
WindowMillis(const uint8_t num, const unsigned long interval)
Micros version
WindowMicros(const uint8_t num, const unsigned long interval)
Emits received items if is less or equal than a value
IsLessOrEqual(T value)
Emits received items if is less than a value
IsLess(T value)
Emits received items if is great or equal than a value
IsGreaterOrEqual(T value)
Emits received items if is great than a value
IsGreater(T value)
Emits received items if is equal to a value
IsEqual(T value)
Emits received items if is not equal to a value
IsNotEqual(T value)
Emits received items if is equal zero
IsZero(T value)
Emits received items if is not equal zero
IsNotZero(T value)