SparkFun Absolute Digital Barometer - LPS28DFW (Qwiic) | SparkFun Micro Absolute Digital Barometer - LPS28DFW (Qwiic) |
This library provides an easy way to control the LPS28DFW Absolute Digital Barometer. It provides high accuracy pressure data in a water-resistant package. Measurements can be filtered to reduce noise, and an on-board FIFO buffer can be used to store measurements for more efficient burst reading of data. In also has a few interrupt features, such as when the measured pressure exceeds some threshold values.
This library implements STMicroelectronics' LPS28DFW API in an Arduino-friendly way. All functions return error codes to indicate the result of each operation, where LPS28DFW_OK (0
) indicates success. Most examples ignore the error codes to reduce clutter, but an example is included to demonstrate error handling techniques.
- /examples - Example sketches for the library (.ino). Run these from the Arduino IDE.
- /src - Source files for the library (.cpp, .h).
- keywords.txt - Keywords from this library that will be highlighted in the Arduino IDE.
- library.properties - General library properties for the Arduino package manager.
- Installing an Arduino Library Guide - Basic information on how to install an Arduino library.
- Hardware Repo - Repository for the LPS28DFW board.
- Library - This library, providing functions to write applications for the LPS28DFW with Arduino IDE.
- Hookup Guide - Basic hookup guide for the LPS28DFW.
- LICENSE.md - License Information
- v1.0.0 - Initial public release.
This product is open source!
Please review the LICENSE.md file for license information.
If you have any questions or concerns on licensing, please contact technical support on our SparkFun forums.
Distributed as-is; no warranty is given.
- Your friends at SparkFun.