Skip to content
Commit dc9bd3af authored by Tristan Honscheid's avatar Tristan Honscheid Committed by Anas Nashif
Browse files

sensors: Create `sensor trig` subcommand



This PR relocates the sensor trigger sample application from the
`sensor_shell` sample to a subcommand in the actual sensor shell. The
subcommand has a UI for enabling a given trigger on a given sensor.
A built-in handler for the data_ready trigger is included that prints
the latest data to the log. Currently, only `SENSOR_TRIG_DATA_READY` is
supported but the groundwork is there to add others. Tested on a
`tdk_robokit1` board.

Signed-off-by: default avatarTristan Honscheid <honscheid@google.com>
parent fc73d6a7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment