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. 0b1011100 by default.
INITpulse
Triggers initialization of the sensor
UPDpulse
Update. Triggers new sensor reading.
ERRpulse
Fires if reading failed
DONEpulse
Fires when reading is done
ALTTnumber
Geometric altitude value in meters
hPanumber
Pressure in millibars (mbar)/hectopascals
Tcnumber
Temperature in degrees C
To use the node in your project you should have the gabbapeople/on-board-computer library installed. Use the “File → Add Library” menu item in XOD IDE if you don’t have it yet. See Using libraries for more info.