Creates a MPL3115A2 object. Constructor must be passed a Pycoproc or I2C object to successfully construct.
Read the atmospheric pressure of the sensor. Returns a float with the pressure in Pascal.
Read the altitude of the sensor. Returns a float with the altitude in meter.
Read the temperature of the sensor. Returns a float with the temperature in degrees Celcius.
The following constants may be passed into the constructor.
PRESSURE
, ALTITUDE