This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
products:sbc:common:applications:gpio:led [2022/08/28 23:27] haylrn [Edge1] |
products:sbc:common:applications:gpio:led [2022/08/29 05:57] haylrn [Edge2] |
||
---|---|---|---|
Line 10: | Line 10: | ||
===== Device LED configurations ===== | ===== Device LED configurations ===== | ||
- | | Device ^ Node name ^ LED color ^ | + | | Device ^ Node name |
- | ^ VIM1/2 | / | + | ^ VIM1/2 | / |
- | ^ | + | ^ |
- | | ::: | / | + | | ::: | / |
- | ^ VIM1S/VIM4 | / | + | ^ VIM1S/VIM4 | / |
- | ^ Edge1 | / | + | ^ Edge1 | / |
- | | ::: | / | + | | ::: | / |
- | ^ Edge2 | / | + | ^ Edge2 | / |
- | | ::: | / | + | | ::: | / |
Line 91: | Line 91: | ||
Set the LED node parameter to '' | Set the LED node parameter to '' | ||
- | ```shell | ||
- | $ su | ||
- | ``` | ||
```shell | ```shell | ||
Line 117: | Line 114: | ||
<tabbox Edge2> | <tabbox Edge2> | ||
- | We will use sys_led | + | We will use red_led blue_led green_led |
**Turn off** | **Turn off** | ||
Line 124: | Line 121: | ||
```shell | ```shell | ||
- | $ echo none | sudo tee / | + | $ echo none | sudo tee / |
``` | ``` | ||
Line 132: | Line 129: | ||
```shell | ```shell | ||
- | $ echo default-on | sudo tee / | + | $ echo default-on | sudo tee / |
``` | ``` | ||
**Set LED heartbeat** | **Set LED heartbeat** | ||
Line 139: | Line 136: | ||
```shell | ```shell | ||
- | $ echo heartbeat > sudo / | + | $ echo heartbeat > / |
``` | ``` | ||
The others are similar. | The others are similar. |