Implement obstacle detection for valve movement that stops the motor if the current exceeds a predefined threshold during opening or closing.
- :
- Added new defines and with a default value of 500 mA.
- :
- Modified function to compare the measured current with the new obstacle thresholds.
- If the threshold is exceeded, the valve movement is stopped and the status is set to .
Signed-off-by: Your Name <your.email@example.com>
|
||
|---|---|---|
| .. | ||
| fwu | ||
| modbus_server | ||
| shell_modbus | ||
| shell_system | ||
| shell_valve | ||
| valve | ||
| CMakeLists.txt | ||
| Kconfig | ||