Interface HygrometerInterface

All Superinterfaces:
AutoCloseable, DeviceInterface, SensorInterface
All Known Implementing Classes:
BME280, BME680, BME68x, HTS221

public interface HygrometerInterface
extends SensorInterface
  • Method Summary

    Modifier and Type Method Description
    float getRelativeHumidity()
    Get the relative humidity in percent.

    Methods inherited from interface com.diozero.api.DeviceInterface

    close
  • Method Details

    • getRelativeHumidity

      float getRelativeHumidity()
      Get the relative humidity in percent.
      Returns:
      The relative humidity in percent.