1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/drivers/jc42
2024-03-26 14:53:35 +01: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

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.