pamoja for TypeScript - v0.2.0
    Preparing search index...

    Class Thermostat

    Switches a load on and off around a setpoint, with hysteresis to stop chatter.

    Index
    • get isOn(): boolean

      Whether the load is on, as the last reading left it.

      Returns boolean

    • Feeds a reading in and returns whether the load should be on.

      Parameters

      • reading: number

      Returns boolean