[][src]Crate mpl3115

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.

Structs

MPL3115A2

MPL3115A2 driver

Enums

Error
Mode

Device Mode

PressureAlt

Pressure or Altitude Mode