This library enables the developer to evaluate NXP MPL3115A2(S) with Arduino.
Note This library works with
I2C_devicelibrary together. Please be sure theI2C_devicelibrary is imported in your environment before trying to build.
| Device Information | Datasheet | Board Information |
|---|---|---|
| MPL3115A2S | MPL3115A2S.pdf | FRDMSTBC-P3115 |
| MPL3115A2 | MPL3115A2.pdf | FRDMSTBC-P3115 |
Use Library manager pane in Arduino IDE (the books mark), put this library name (MPL3115A2_Arduino) and click INSTALL button. This library is copied to your Arduino library folder (default: <Your Documents folder>\Arduino\libraries).
You can find example codes inside this library by selecting from [File]->[Examples]->[MPL3115A2_Arduino].
Please see the documents of docs/class_m_p_l3115_a2___arduino.html in order to get the information of all the functions.
| Category | Folder | Features |
|---|---|---|
| Example | examples/example_relative_altimeter/example_relative_altimeter.ino | Example codes to get the current altimeter relative to the first-taken data |
| Documents | docs/<All data inside the folder> | The documents generated by Doxygen. Please see the link: docs/class_m_p_l3115_a2___arduino.html |
| Source | src/MPL3115A2_Arduino.cpp | The C++ file for this library. |
| Source | src/MPL3115A2_Arduino.h | The header file for MPL3115A2_Arduino.cpp. |
| Source | src/mpl3115.h | The header for register definition made by NXP. |
| Arduino | keywords.txt | Keywords data only used for Arduino IDE 1.x. |
| Arduino | library.properties | Library properties used by Arduino and its Library manager. |
| Other | Doxyfile | For Doxygen |
| Other | LICENSE | License data. This is BSD 3-Clause. |
| Other | README.md | This file. |