lps331-barometer

xod/common-hardware/lps331-barometer

Reads temprature, pressure, altitude from a barometer based on LPS331 chip by STMicroelectronics.
lps331-barometer
@/lps331-barometer
Reads temprature, pressure, altitude from a barometer based on LPS331 chip by STMicroelectronics.
I2Cxod/i2c/i2c
ADDRbyte
I²C address.
INITpulse
Triggers initialization of the sensor
UPDpulse
Update. Triggers new sensor reading.
lps331-barometer
TcTcPpaPpaALTALTDONEDONEERRERRI2CI2CADDRADDRINITINITUPDUPD
ERRpulse
Fires if reading failed
DONEpulse
Fires when reading is done
ALTnumber
Altitude above the sea level in meters.
Ppanumber
Pressure in pascals.
Tcnumber
Temperature in degrees C.