zephyr/samples/sensor/qdec/sample.yaml

17 lines
390 B
YAML

sample:
description: Usage quadrature decoder sensor
name: qdec_sensor
tests:
sample.sensor.qdec_sensor:
tags: sensors
platform_allow: nucleo_f401re
timeout: 5
harness: console
harness_config:
type: multi_line
ordered: true
regex:
- "Quadrature decoder sensor test"
- "Position = (.*) degrees"
fixture: fixture_mech_encoder