1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/drivers/hdc1000
Hugues Larrive 3c465836f2 examples and tests: add atmega8 to relevent Makefile.ci
using dist/tools/insufficient_memory/add_insufficient_memory_board.sh
2023-07-11 21:22:02 +02:00
..
app.config.test tests/drivers: move all driver tests into own folder 2023-05-04 12:45:07 +02:00
main.c tests/drivers: move all driver tests into own folder 2023-05-04 12:45:07 +02:00
Makefile tests/drivers: move all driver tests into own folder 2023-05-04 12:45:07 +02:00
Makefile.ci examples and tests: add atmega8 to relevent Makefile.ci 2023-07-11 21:22:02 +02:00
README.md tests/drivers: move all driver tests into own folder 2023-05-04 12:45:07 +02: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.