Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


products:sbc:common:applications:gpio:led

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
products:sbc:common:applications:gpio:led [2023/07/07 03:36]
ivan [VIM1/2/3/3L]
products:sbc:common:applications:gpio:led [2023/11/07 03:23] (current)
nick
Line 87: Line 87:
 <tabbox Edge1> <tabbox Edge1>
  
-We will use sys_led as an example:+We will use ''sys_led'' as an example:
  
 **Turn off** **Turn off**
Line 109: Line 109:
  
 ```shell ```shell
-$ echo heartbeat | sudo /sys/class/leds/sys_led/trigger+$ echo heartbeat | sudo tee /sys/class/leds/sys_led/trigger
 ``` ```
  
Line 115: Line 115:
  
 <tabbox Edge2> <tabbox Edge2>
-We will use red_led blue_led green_led  as an example:+We will use ''red_led'' as an example:
  
 **Turn off** **Turn off**
Line 137: Line 137:
  
 ```shell ```shell
-$ echo heartbeat | sudo /sys/class/leds/red_led/trigger+$ echo heartbeat | sudo tee /sys/class/leds/red_led/trigger
 ``` ```
 The others are similar. The others are similar.
Last modified: 2023/07/07 03:36 by ivan