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/07/13 02:18] hyphop [Device LED configurations] |
products:sbc:common:applications:gpio:led [2023/11/07 03:23] nick |
||
---|---|---|---|
Line 4: | Line 4: | ||
===== Introduction ===== | ===== Introduction ===== | ||
/* | /* | ||
- | This document | + | This page mainly describes the onboard LEDs and leads you to control the LEDs. |
*/ | */ | ||
- | Onboard LED indicators | + | This page introduces the usage of Onboard LED indicators under Linux, and leads you to control the LEDs. |
===== Device LED configurations ===== | ===== Device LED configurations ===== | ||
- | | Device ^ Node name ^ LED color ^ | + | ^ |
- | ^ | + | ^ VIM1/ |
- | ^ VIM3/3L | / | + | ^ VIM3/ |
- | | ::: | / | + | | ::: |
- | ^ | + | ^ |
- | ^ Edge1 | / | + | ^ Edge1 |
- | | ::: | / | + | | ::: |
+ | ^ Edge2 | / | ||
+ | | ::: | ||
+ | | ::: | ||
Line 46: | Line 49: | ||
```shell | ```shell | ||
- | $ echo heartbeat | + | $ echo heartbeat |
``` | ``` | ||
- | You can also try other parameters. | + | You can also experiment with other parameters. |
- | <tabbox VIM4> | + | < |
We will take '' | We will take '' | ||
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. | ||
</ | </ |