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

    Variable bme280Const

    bme280: {
        addressPrimary: number;
        addressSecondary: number;
        chipId: number;
        calibration(
            tempPress: Uint8Array,
            humidity: Uint8Array,
        ): sensors.Bme280Calibration;
    }

    A Bosch BME280 temperature, pressure, and humidity sensor.

    Type Declaration

    • addressPrimary: number

      The address a BME280 answers on with its SDO pin low.

    • addressSecondary: number

      The address it answers on with SDO high.

    • chipId: number

      The value its chip-ID register reads, which confirms the part.

    • calibration: function
      • Reads the factory calibration out of the registers, once at start-up.

        Parameters

        • tempPress: Uint8Array

          The 26-byte temperature and pressure calibration block.

        • humidity: Uint8Array

          The 7-byte humidity calibration block.

        Returns sensors.Bme280Calibration

        The calibration, to reuse for every measurement.

        If either block is the wrong length.