2018-12-30 15:14:19 +01:00
|
|
|
# About
|
|
|
|
|
|
|
|
This is a manual test application for the LPSXXX family of pressure sensors
|
2022-02-23 18:19:46 +01:00
|
|
|
driver. This driver can be used with LPS331AP, LPS22CH, LPS25HB, LPS22HB and LPS22HH.
|
2018-12-30 15:14:19 +01:00
|
|
|
|
|
|
|
Default driver is `lps331ap`. To use the LPS25HB driver, set the `DRIVER` when
|
|
|
|
building the application:
|
|
|
|
|
|
|
|
DRIVER=lps25hb make BOARD=<your board>
|
|
|
|
|
|
|
|
# Usage
|
|
|
|
|
2019-01-02 17:00:20 +01:00
|
|
|
This test application will initialize the pressure sensor with a sampling rate
|
2021-09-22 17:37:11 +02:00
|
|
|
of 7Hz (25Hz with lps22hb and lps22hh).
|
2018-12-30 15:14:19 +01:00
|
|
|
|
|
|
|
After initialization, the sensor reads the pressure and temperature values
|
|
|
|
every 250ms and prints them to the STDOUT.
|