2023-09-23 08:38:07 +08:00
|
|
|
#
|
|
|
|
# Copyright (c) 2023 Ian Morris
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
#
|
|
|
|
|
|
|
|
sample:
|
|
|
|
description: Digital Humidity Temperature polling sample
|
|
|
|
name: DHT polling sample
|
|
|
|
tests:
|
|
|
|
sample.sensor.dht_polling:
|
|
|
|
tags: sensors
|
|
|
|
filter: dt_alias_exists("dht0")
|
|
|
|
integration_platforms:
|
|
|
|
- nucleo_f401re
|
|
|
|
harness: console
|
|
|
|
harness_config:
|
2024-04-02 16:41:04 +08:00
|
|
|
fixture: fixture_i2c_hs300x
|
2023-09-23 08:38:07 +08:00
|
|
|
type: one_line
|
|
|
|
regex:
|
|
|
|
- "[0-9A-Za-z_,+-.]*@[0-9A-Fa-f]*: temp is (.*) °C humidity is (.*) %RH"
|