On the 96 board, we created six nodes in the /sys/class/misc/96board_leds/ path to correspond to six led. Echo on/off for the node is equivalent to the light on/off of the LED, as described below.
2.1 light on/off led0
Led0 corresponds to the /sys/class/misc/96board_leds/96_led0 node.
In the path : /sys/class/misc/96board_leds/
We can use <cat 96_led0> command to check the status of led0 , use <echo on > 96_led0> command to light on led0,and use <echo off > 96_led0> command to light off led0.
2.2 light on/off led1
Led1 corresponds to the /sys/class/misc/96board_leds/96_led1 node.
In the path : /sys/class/misc/96board_leds/
We can use <cat 96_led1> command to check the status of led1 , use <echo on > 96_led1> command to light on led1,and use <echo off > 96_led1> command to light off led1.
2.3 light on/off led2
Led2 corresponds to the /sys/class/misc/96board_leds/96_led2 node.
In the path : /sys/class/misc/96board_leds/
We can use <cat 96_led2> command to check the status of led2 , use <echo on > 96_led2> command to light on led2,and use <echo off > 96_led2> command to light off led2.
2.4 light on/off led3
Led3 corresponds to the /sys/class/misc/96board_leds/96_led3 node.
In the path : /sys/class/misc/96board_leds/
We can use <cat 96_led3> command to check the status of led3 , use <echo on > 96_led3> command to light on led3,and use <echo off > 96_led3> command to light off led3.
2.5 light on/off led4
Led4 corresponds to the /sys/class/misc/96board_leds/96_led4 node.
In the path : /sys/class/misc/96board_leds/
We can use <cat 96_led4> command to check the status of led4 , use <echo on > 96_led4> command to light on led4,and use <echo off > 96_led4> command to light off led4.
2.6 light on/off led5
Led5 corresponds to the /sys/class/misc/96board_leds/96_led5 node.
In the path : /sys/class/misc/96board_leds/
We can use <cat 96_led5> command to check the status of led5 , use <echo on > 96_led5> command to light on led5,and use <echo off > 96_led5> command to light off led5.