Changes

Jump to: navigation, search

Onboard LED Light Test Instructions

1,455 bytes added, 15:46, 24 April 2023
Created page with "1) There are two LED lights on the development board, one is green and the other is red. The location is shown in the figure below:<br><br> Image:Pi-5-details-pic59.png<br..."
1) There are two LED lights on the development board, one is green and the other is red. The location is shown in the figure below:<br><br>
[[Image:Pi-5-details-pic59.png]]<br><br>
2) As long as the development board is powered on, the red LED light will always be on, which is controlled by the hardware and cannot be turned off by the software.<br><br>
3) The green LED light will keep flashing after the kernel is started, which is controlled by software.<br><br>
4) The method of setting the green light on and off and flashing is as follows<br>
{| class="wikitable" style="background-color:#ffffdc;width:800px;"
|-
| <br><big>'''Note that the following operations should be performed under the root user.'''</big><br><br>
|}
a. First enter the setting directory of the green light<br>
{| class="wikitable" style="width:800px;"
|-
|root@orangepi:~# '''cd /sys/class/leds/status_led'''
|}
b. The command to set the green light to stop flashing is as follows<br>
{| class="wikitable" style="width:800px;"
|-
|root@orangepi:/sys/class/leds/status_led# '''echo none''' > trigger
|}
c. The command to set the green light to be on is as follows<br>
{| class="wikitable" style="width:800px;"
|-
|root@orangepi:/sys/class/leds/status_led# '''echo 1 > brightness'''
|}
d. The command to set the green light to flash is as follows<br>
{| class="wikitable" style="width:800px;"
|-
|root@orangepi:/sys/class/leds/status_led# '''echo heartbeat > trigger'''
|}

Navigation menu