2021-10-29 00:30:05 +08:00
|
|
|
sample:
|
|
|
|
name: TMP 108 Temperature Sensor Sample
|
|
|
|
tests:
|
|
|
|
sample.sensor.tmp108:
|
|
|
|
harness: console
|
|
|
|
tags: sensors
|
2023-05-08 19:37:42 +08:00
|
|
|
depends_on:
|
|
|
|
- i2c
|
|
|
|
- gpio
|
2021-10-29 00:30:05 +08:00
|
|
|
filter: dt_compat_enabled("ti,tmp108")
|
|
|
|
harness_config:
|
2023-01-04 03:08:27 +08:00
|
|
|
type: multi_line
|
|
|
|
regex:
|
|
|
|
- "temperature is *.*C"
|