1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/driver_hdc1000
Leandro Lanzieri 9abf3247c8
tests/driver_{g,h,i,j}*: add Kconfig configuration files
This also adds these applications to the CI tests. The following drivers
have been modelled:

gp2y10xx
grove_ledbar
hd44780
hdc1000
hih6130
hmc5883l
hts221
ili9341
ina2xx
ina3221
io1_xplained
isl29020
isl29125
itg320x
jc42
my9221
2020-11-27 09:20:08 +01:00
..
app.config.test tests/driver_{g,h,i,j}*: add Kconfig configuration files 2020-11-27 09:20:08 +01:00
main.c tests: replace SLEEP define 2019-10-10 10:47:38 +02:00
Makefile tests/driver_*: Rely on Makefile.dep for FEATURES_REQUIRED 2018-08-26 09:34:58 +02:00
README.md tests/driver_hdc1000: adapted to driver changes 2017-01-17 10:48:22 +01:00

About

This is a manual test application for the HDC1000 driver.

Usage

This test application will initialize the HDC1000 sensor with the configuration as specified in the default hdc1000_params.h file (i.e. 14-bit resolution).

If you want to use this test application with different parameters, you can simply override the default settings on the command line like this:

CFLAGS="-DHDC1000_PARAM_I2C=I2C_DEV\(1\) -DHDC1000_PARAM_RES=HDC1000_11BIT" make

After initialization, the sensor reads the temperature and humidity values every second and prints them to STDOUT.