1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/driver_si70xx
2016-07-22 18:22:13 +02:00
..
main.c drivers: si70xx: bugfixes + test improvements 2016-04-13 13:27:09 +02:00
Makefile drivers: si70xx: adapt for SAUL 2016-07-22 18:22:13 +02:00
README.md drivers: si70xx: temperature and humidity sensor 2016-02-23 07:32:40 +01:00

Si70xx Driver Test

Introduction

This test will test if the Si7006/13/20/21 temperature and humidity sensor is working.

Configuration

There are three parameters to configure:

  • TEST_I2C — I2C device to use.
  • TEST_I2C_ADDR — The sensor address (usually 0x80 or 0x81).
  • TEST_PIN_EN — If required, toggle the enable pin via this GPIO pin (see GPIO_PIN macro for your board).

Expected result

The sensor should continuously (every 1 sec) output the humidity and temperature. The precision should be two digits.