forked from EmbeddedTeam/app_photomagnetic
add dts overlay
This commit is contained in:
parent
013c68fda4
commit
0c6cfe4571
18
boards/dr2501a_g070rb.overlay
Normal file
18
boards/dr2501a_g070rb.overlay
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
&indicator {
|
||||||
|
led-strip = <&led_strip>;
|
||||||
|
compatible = "led-strip-indicator";
|
||||||
|
en-gpios = <&gpiob 13 GPIO_ACTIVE_HIGH>;
|
||||||
|
standby {
|
||||||
|
rgb = <0 0 180>; // Blue
|
||||||
|
};
|
||||||
|
running {
|
||||||
|
rgb = <0 172 0>; // Green
|
||||||
|
};
|
||||||
|
// pause {
|
||||||
|
// rgb = <254 254 0>;
|
||||||
|
// interval-ms = <500>;
|
||||||
|
// };
|
||||||
|
error {
|
||||||
|
rgb = <160 0 0>; //Red
|
||||||
|
};
|
||||||
|
};
|
||||||
Loading…
x
Reference in New Issue
Block a user