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/07 22:42] olivia [Introduction] |
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 46: | Line 49: | ||
```shell | ```shell | ||
- | $ echo heartbeat | + | $ echo heartbeat |
``` | ``` | ||
Line 77: | Line 80: | ||
```shell | ```shell | ||
- | $ echo heartbeat | + | $ echo heartbeat |
``` | ``` | ||
Line 84: | Line 87: | ||
<tabbox Edge1> | <tabbox Edge1> | ||
- | We will use sys_led as an example: | + | We will use '' |
**Turn off** | **Turn off** | ||
Line 106: | Line 109: | ||
```shell | ```shell | ||
- | $ echo heartbeat | + | $ echo heartbeat |
``` | ``` | ||
Line 112: | Line 115: | ||
<tabbox Edge2> | <tabbox Edge2> | ||
+ | We will use '' | ||
+ | |||
+ | **Turn off** | ||
+ | |||
+ | Set the LED node parameter to '' | ||
+ | |||
+ | ```shell | ||
+ | $ echo none | sudo tee / | ||
+ | ``` | ||
+ | |||
+ | **Turn on** | ||
+ | |||
+ | Set the LED node parameter to '' | ||
+ | |||
+ | ```shell | ||
+ | $ echo default-on | sudo tee / | ||
+ | ``` | ||
+ | **Set LED heartbeat** | ||
+ | |||
+ | Set the LED node parameter to '' | ||
+ | |||
+ | ```shell | ||
+ | $ echo heartbeat | sudo tee / | ||
+ | ``` | ||
+ | The others are similar. | ||
+ | |||
+ | You can also experiment with other parameters. | ||
</ | </ |