a752c7ab
elopes
add first test an...
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
# 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.
|