1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/driver_lpsxxx
Leandro Lanzieri 20c5552920
tests: add Kconfig configuration files for multiple driver tests
Configurations for the following applications have been added:

l3g4200d
lc709203f
lis2dh12
lis3dh
lis3mdl
lpd8808
lpsxxx
lsm303dlhc
lsm6dsl
ltc4150
mag3110
mhz19
mma7660
mma8x5x
motor_driver
mpl3115a2
mpu9x50
mq3
nvram_spi
mtd_flashpage
mtd_mapper
2021-01-18 10:44:30 +01:00
..
app.config.test tests: add Kconfig configuration files for multiple driver tests 2021-01-18 10:44:30 +01:00
main.c tests/driver/lpsxxx: update with support for lps22hb 2019-03-20 14:43:37 +01:00
Makefile tests/driver_lpsxx: use new unified driver 2019-03-20 14:43:36 +01:00
README.md tests/driver/lpsxxx: update with support for lps22hb 2019-03-20 14:43:37 +01:00

About

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

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).

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