Home
last modified time | relevance | path

Searched refs:setpoint (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/samples/sensor/veaa_x_3/src/
Dmain.c18 struct sensor_value range, setpoint, pressure; in main() local
40 setpoint.val1 = range.val1; in main()
44 &setpoint); in main()
46 printk("Set setpoint to %u failed: %d\n", setpoint.val1, rc); in main()
62 printk("Setpoint: %4u kPa, actual: %4u kPa\n", setpoint.val1, pressure.val1); in main()
64 setpoint.val1 += CONFIG_SAMPLE_LOOP_INCREMENT; in main()
65 if (setpoint.val1 > range.val2) { in main()
66 setpoint.val1 = range.val1; in main()
/Zephyr-latest/samples/sensor/veaa_x_3/
DREADME.rst15 This sample sets the valve setpoint then reads the actual pressure.
16 This is done continuously. When the maximum supported pressure is reached the setpoint is reset to