Skip to content

sparkfun/SparkFun_LPS28DFW_Arduino_Library

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SparkFun LPS28DFW Arduino Library

SparkFun Absolute Digital Barometer - LPS28DFW (Qwiic) SparkFun Micro Triple Axis Accelerometer Breakout - BMA400 (Qwiic)
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.

Repository Contents

  • /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.

Documentation

Product Versions

Version History

  • v1.0.0 - Initial public release.

License Information

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.