1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/driver_lpsxxx
2022-03-09 15:23:51 +01:00
..
app.config.test drivers/lpsxxx: Allow SAUL_DEFAULT in kconfig 2021-12-14 16:17:06 +01:00
main.c drivers/lpsxxx: add support for lps22hh 2021-09-22 17:54:02 +02:00
Makefile tests/driver_lpsxx: use new unified driver 2019-03-20 14:43:36 +01:00
README.md driver/lpsxxx: adding lps22ch support 2022-03-09 15:23:51 +01:00

About

This is a manual test application for the LPSXXX family of pressure sensors driver. This driver can be used with LPS331AP, LPS22CH, LPS25HB, LPS22HB and LPS22HH.

Default driver is lps331ap. To use the LPS25HB driver, set the DRIVER when building the application:

DRIVER=lps25hb make BOARD=<your board>

Usage

This test application will initialize the pressure sensor with a sampling rate of 7Hz (25Hz with lps22hb and lps22hh).

After initialization, the sensor reads the pressure and temperature values every 250ms and prints them to the STDOUT.