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/28 22:57] haylrn [Edge2] |
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 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** | ||
| Line 121: | Line 122: | ||
| ```shell | ```shell | ||
| - | $ su | + | $ echo none | sudo tee / |
| - | ``` | + | |
| - | + | ||
| - | ```shell | + | |
| - | # echo none | tee / | + | |
| ``` | ``` | ||
| Line 133: | Line 130: | ||
| ```shell | ```shell | ||
| - | # echo default-on | tee / | + | $ echo default-on | sudo tee / |
| ``` | ``` | ||
| - | |||
| **Set LED heartbeat** | **Set LED heartbeat** | ||
| Line 141: | Line 137: | ||
| ```shell | ```shell | ||
| - | # echo heartbeat | + | $ echo heartbeat |
| ``` | ``` | ||
| + | The others are similar. | ||
| + | |||
| You can also experiment with other parameters. | You can also experiment with other parameters. | ||