screamer.js
    Preparing search index...

    Interface SchmittTriggerOptions

    The settings of SchmittTrigger by name, for SchmittTrigger({ ... }).

    interface SchmittTriggerOptions {
        initial?: number;
        lower: number;
        upper: number;
    }
    Index
    initial?: number

    Latch value held before the first threshold crossing. Must be 0.0 (low), 1.0 (high), or NaN (undefined until the first crossing). Defaults to 0.0, so a signal that starts inside the dead band reads low rather than NaN.

    0.0

    lower: number

    Lower threshold, finite. The output latches to 0.0 when the input falls strictly below this value.

    upper: number

    Upper threshold, finite and strictly greater than lower. The output latches to 1.0 when the input rises strictly above this value.