zephyr/samples/sensor/tmp108/sample.yaml
Jimmy Johnson 5fda6a3b2f sample: sensor: tmp108: Add ti tmp108 sample
This sample writes the tmp108 temperature to the console
once every 3 seconds. There are macro definitions included
for turning off and on alerts if that is set up, and
also using low power one shot mode.

Signed-off-by: Jimmy Johnson <catch22@fastmail.net>
2021-12-17 21:15:25 +01:00

13 lines
284 B
YAML

sample:
name: TMP 108 Temperature Sensor Sample
tests:
sample.sensor.tmp108:
harness: console
tags: sensors
depends_on: i2c gpio
filter: dt_compat_enabled("ti,tmp108")
harness_config:
type: multi_line
regex:
- "temperature is *.*C"