Add NTC sample configuration and PID temperature control

- Add CONFIG_SAMPLE_NTC to CMakeLists.txt and Kconfig
- Implement PI temperature controller with PWM output in heating.hpp
- Convert NtcGroup from template to non-template class
- Add LED helper class with flash support
- Implement COM protocol handlers for device ID and running state
- Add SPI, sensor, and PWM configuration to prj.conf
- Remove indicator overlay and update main.cpp with temperature
  monitoring
- Add test script for serial protocol communication
This commit is contained in:
zhangyisong
2026-07-09 11:06:11 +08:00
parent 1afea0b932
commit eaa5d0c28b
13 changed files with 631 additions and 48 deletions
-18
View File
@@ -1,18 +0,0 @@
&indicator {
led-strip = <&led_strip>;
compatible = "led-strip-indicator";
en-gpios = <&gpiob 13 GPIO_ACTIVE_HIGH>;
standby {
rgb = <0 0 255>; // Blue
};
running {
rgb = <0 255 0>; // Green
};
pause {
rgb = <254 254 0>;
// interval-ms = <500>;
};
error {
rgb = <255 0 0>; //Red
};
};