1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 04:52:54 +01:00
RIOT/tests/drivers/jc42
2024-03-26 14:53:35 +01:00
..
main.c
Makefile
Makefile.ci
README.md

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.