Class LPS25H

java.lang.Object
com.diozero.devices.LPS25H
All Implemented Interfaces:
BarometerInterface, SensorInterface, ThermometerInterface, java.io.Closeable, java.lang.AutoCloseable

public class LPS25H
extends java.lang.Object
implements ThermometerInterface, BarometerInterface, java.io.Closeable
STMicroelectronics LPS25H "ultra compact absolute piezoresistive pressure sensor". Datasheet: http://www2.st.com/content/ccc/resource/technical/document/datasheet/58/d2/33/a4/42/89/42/0b/DM00066332.pdf/files/DM00066332.pdf/jcr:content/translations/en.DM00066332.pdf Example implementation: https://github.com/richards-tech/RTIMULib/blob/master/RTIMULib/IMUDrivers/RTPressureLPS25H.cpp Eclipse Kura implementation: https://github.com/eclipse/kura/tree/develop/kura/examples/org.eclipse.kura.raspberrypi.sensehat/src/main/java/org/eclipse/kura
  • Constructor Summary

    Constructors 
    Constructor Description
    LPS25H()  
    LPS25H​(int controller, int address)  
  • Method Summary

    Modifier and Type Method Description
    void close()  
    float getPressure()
    Get the pressure in kPa
    float getTemperature()
    Get temperature in degrees celsius

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait