• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

boards/04-Jan-2025-3629

src/04-Jan-2025-7251

CMakeLists.txtD04-Jan-2025186 95

KconfigD04-Jan-2025415 2418

README.rstD04-Jan-20251 KiB4030

prj.confD04-Jan-202555 54

sample.yamlD04-Jan-2025198 1110

README.rst

1.. zephyr:code-sample:: veea_x_3
2   :name: VEAA-X-3 proportional pressure control valve
3   :relevant-api: sensor_interface
4
5   Control a VEAA-X-3 proportional pressure control valve.
6
7Overview
8********
9
10A sensor sample that demonstrates how to use a VEAA-X-3 device.
11
12Building and Running
13********************
14
15This sample sets the valve setpoint then reads the actual pressure.
16This is done continuously. When the maximum supported pressure is reached the setpoint is reset to
17the valve's minimum supported pressure value.
18
19.. zephyr-app-commands::
20   :zephyr-app: samples/sensor/veaa_x_3
21   :board: <board to use>
22   :goals: build flash
23   :compact:
24
25Sample Output
26=============
27
28.. code-block:: console
29
30    Testing test_veaa_x_3
31    Valve range: 1 to 200 kPa
32    Setpoint:    1 kPa, actual:   1 kPa
33    Setpoint:    2 kPa, actual:   2 kPa
34    Setpoint:    3 kPa, actual:   3 kPa
35    ...
36    Setpoint:  199 kPa, actual: 199 kPa
37    Setpoint:  200 kPa, actual: 200 kPa
38    Setpoint:    1 kPa, actual:   1 kPa
39    <repeats endlessly>
40