mpl3115a2 v0.1.0 MPL3115A2.Device
Link to this section Summary
Functions
Returns the current altutude (in meters).
Returns the change in altitude since the last sample (in meters).
Execute an arbitrary function with the PID of the I2C connection.
Returns the current barometric pressure (in Pascals).
Returns true of there is pressure data ready for reading.
Returns the change in pressure since the last sample (in Pascals).
Returns true of there is pressure or temperature data ready for reading.
Returns the current temperature (in ℃)
Returns true of there is temperature data ready for reading.
Returns the change in temperature since the last sample (in ℃)
Link to this section Functions
altitude(device_name)
Returns the current altutude (in meters).
altitude_delta(device_name)
Returns the change in altitude since the last sample (in meters).
execute(device_name, function)
Execute an arbitrary function with the PID of the I2C connection.
pressure(device_name)
Returns the current barometric pressure (in Pascals).
pressure_data_available?(device_name)
Returns true of there is pressure data ready for reading.
pressure_delta(device_name)
Returns the change in pressure since the last sample (in Pascals).
pressure_or_temperature_data_ready?(device_name)
Returns true of there is pressure or temperature data ready for reading.
temperature(device_name)
Returns the current temperature (in ℃)
temperature_data_available?(device_name)
Returns true of there is temperature data ready for reading.
temperature_delta(device_name)
Returns the change in temperature since the last sample (in ℃)