change led color and add flashing of led

This commit is contained in:
2026-03-26 17:06:33 +08:00
parent 0c6cfe4571
commit 7c49416c68
2 changed files with 19 additions and 4 deletions
+6 -3
View File
@@ -3,16 +3,19 @@
compatible = "led-strip-indicator";
en-gpios = <&gpiob 13 GPIO_ACTIVE_HIGH>;
standby {
rgb = <0 0 180>; // Blue
// rgb = <0 0 180>; // Blue
rgb = <0 0 255>; // Blue
};
running {
rgb = <0 172 0>; // Green
// rgb = <0 172 0>; // Green
rgb = <0 255 0>; // Green
};
// pause {
// rgb = <254 254 0>;
// interval-ms = <500>;
// };
error {
rgb = <160 0 0>; //Red
// rgb = <160 0 0>; //Red
rgb = <255 0 0>; //Red
};
};