This is an embedded-hal device driver for the MPL3115A2 Altitude sensor.
It is accurate to around 0.3m.
There is also a temperature and pressure readings avaliable.
See the examples folder for a blocking implementation.
The pressure mode is likely wildly inaccurate and needs to be tested against a known good pressure sensor.
Pressure or Altitude Mode