This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
products:sbc:common:applications:gpio:led [2022/08/29 03:18] haylrn [Table] |
products:sbc:common:applications:gpio:led [2023/11/07 03:23] (current) nick |
||
|---|---|---|---|
| Line 10: | Line 10: | ||
| ===== Device LED configurations ===== | ===== Device LED configurations ===== | ||
| - | | | + | ^ |
| - | ^ VIM1/2 | / | + | ^ VIM1/ |
| - | ^ | + | ^ VIM3/ |
| - | | ::: | / | + | | ::: |
| - | ^ VIM1S/VIM4 | / | + | ^ VIM1S/ |
| - | ^ | + | ^ Edge1 |
| - | | ::: | / | + | | ::: |
| - | ^ | + | ^ Edge2 |
| - | | ::: | / | + | | ::: |
| + | | ::: | ||
| Line 48: | Line 49: | ||
| ```shell | ```shell | ||
| - | $ echo heartbeat | + | $ echo heartbeat |
| ``` | ``` | ||
| Line 79: | Line 80: | ||
| ```shell | ```shell | ||
| - | $ echo heartbeat | + | $ echo heartbeat |
| ``` | ``` | ||
| Line 86: | Line 87: | ||
| <tabbox Edge1> | <tabbox Edge1> | ||
| - | We will use sys_led as an example: | + | We will use '' |
| **Turn off** | **Turn off** | ||
| Line 93: | Line 94: | ||
| ```shell | ```shell | ||
| - | $ echo none | tee / | + | $ echo none | sudo tee / |
| ``` | ``` | ||
| Line 101: | Line 102: | ||
| ```shell | ```shell | ||
| - | $ echo default-on | tee / | + | $ echo default-on | sudo tee / |
| ``` | ``` | ||
| **Set LED heartbeat** | **Set LED heartbeat** | ||
| Line 108: | Line 109: | ||
| ```shell | ```shell | ||
| - | $ echo heartbeat | + | $ echo heartbeat |
| ``` | ``` | ||
| Line 114: | Line 115: | ||
| <tabbox Edge2> | <tabbox Edge2> | ||
| - | We will use led_b led_g led_r as an example: | + | We will use '' |
| **Turn off** | **Turn off** | ||
| Set the LED node parameter to '' | Set the LED node parameter to '' | ||
| - | ```shell | ||
| - | $ su | ||
| - | ``` | ||
| ```shell | ```shell | ||
| - | # echo none | tee / | + | $ echo none | sudo tee / |
| ``` | ``` | ||
| Line 132: | Line 130: | ||
| ```shell | ```shell | ||
| - | # echo default-on | tee / | + | $ echo default-on | sudo tee / |
| ``` | ``` | ||
| **Set LED heartbeat** | **Set LED heartbeat** | ||
| Line 139: | Line 137: | ||
| ```shell | ```shell | ||
| - | # echo heartbeat | + | $ echo heartbeat |
| ``` | ``` | ||
| The others are similar. | The others are similar. | ||