8,367
edits
Changes
→Onboard LED Light Test Instructions
<li><p>There is a red, green and blue three-color light on the development board, and its location is shown in the figure below:</p>
<p>[[File:media/image201.png|374x77px]]</p></li>
<li><p>'''<span style="color:#FF0000">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. The red LED light can be used to determine whether the power supply of the development board is turned on normally.</span>'''</p></li>
<li><p>The green and blue LED lights will keep blinking after the kernel boots, which is controlled by software.</p></li>
<li><p>The method of setting the green light on and off and flashing is as follows:</p>
{| class="wikitable" style="background-color:#ffffdc;width:800px;" |-| <big><p>'''Note that the following operations should be performed under the root user.'''</p></big>|}
<ol style="list-style-type: lower-alpha;">
<li><p>First enter the setting directory of the green light</p>
{| class="wikitable" style="width:800px;" |-|<p>root@orangepi:~# '''cd /sys/class/leds/green_led'''</p>|}</li><li><p>The command to set the green light to stop flashing is as > follows</p>{| class="wikitable" style="width:800px;" |-|<p>root@orangepi:/sys/class/leds/green_led# '''echo none > trigger'''</p>|}</li>
<li><p>The command to set the green light to be on is as follows</p>
{| class="wikitable" style="width:800px;" |-|<p>root@orangepi:/sys/class/leds/green_led# '''echo default-on > trigger'''</p>|}</li>
<li><p>The command to set the green light to flash is as follows</p>
{| class="wikitable" style="width:800px;" |-|<p>root@orangepi:/sys/class/leds/green_led# '''echo heartbeat > trigger'''</p>|}</li></ol>
</li>
<li><p>The method of setting the blue light on and off and flashing is as follows:</p>
{| class="wikitable" style="background-color:#ffffdc;width:800px;" |-| <big><p>'''Note that the following operations should be performed under the root user.'''</p></big>|}
<ol style="list-style-type: lower-alpha;">
<li><p>First enter the setting directory of the blue light</p>
{| class="wikitable" style="width:800px;" |-|<p>root@orangepi:~# '''cd /sys/class/leds/blue_led'''</p>|}</li>
<li><p>The command to set the blue light to stop flashing is as follows</p>
{| class="wikitable" style="width:800px;" |-|<p>root@orangepi:/sys/class/leds/blue_led# '''echo none > trigger'''</p>|}</li>
<li><p>The command to set the blue light to be on is as follows</p>
{| class="wikitable" style="width:800px;" |-|<p>root@orangepi:/sys/class/leds/blue_led# '''echo default-on > trigger'''</p>|}</li>
<li><p>The command to set the blue light to flash is as follows</p>
{| class="wikitable" style="width:800px;" |-|<p>root@orangepi:/sys/class/leds/blue_led# '''echo heartbeat > trigger'''</p>|}</li></ol>
</li></ol>
<span id="network-connection-test"></span>
== Network connection test ==