forked from EmbeddedTeam/app_photomagnetic
🐞 fix(app_photomagnetic):1.更改灯光颜色(红绿蓝)2.恢复enum StatusId : uint8_t { kStandby, kRunning, kPause, kError};(协议中有暂停状态,所以不能删除)
This commit is contained in:
@@ -3,19 +3,16 @@
|
||||
compatible = "led-strip-indicator";
|
||||
en-gpios = <&gpiob 13 GPIO_ACTIVE_HIGH>;
|
||||
standby {
|
||||
// rgb = <0 0 180>; // Blue
|
||||
rgb = <0 0 255>; // Blue
|
||||
};
|
||||
running {
|
||||
// rgb = <0 172 0>; // Green
|
||||
rgb = <0 255 0>; // Green
|
||||
};
|
||||
// pause {
|
||||
// rgb = <254 254 0>;
|
||||
pause {
|
||||
rgb = <254 254 0>;
|
||||
// interval-ms = <500>;
|
||||
// };
|
||||
};
|
||||
error {
|
||||
// rgb = <160 0 0>; //Red
|
||||
rgb = <255 0 0>; //Red
|
||||
rgb = <255 0 0>; //Red
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user