1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/driver_jc42
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/driver_jc42: convert to xtimer_msleep() 2020-11-05 11:32:42 +01:00
Makefile tests: remove redundant APPLICATION defines 2017-12-01 11:03:39 +01:00
README.md Add test case for the jc42 temperature sensor 2017-01-15 13:10:37 +01:00

JC42 Driver Test

Introduction

This test will test if the jc42 compatible temperature sensor is working.

Configuration

There are three parameters to configure:

  • TEST_I2C — I2C device to use.
  • TEST_I2C_ADDR — The sensor address (usually 0x18).
  • TEST_I2C_SPEED — The sensor address (usually I2C_SPEED_NORMAL).

Expected result

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