BoltGATE 20-25 User Manual Rev. 1-1
10 How to Access the Interfaces Under Linux
10.10 LED Indicators
The BoltGATE 20-25 exposes the LED indicators as follows:
l
User 1:
Green:
/sys/class/leds/led1-green
Amber:
/sys/class/leds/led1-amber
l
User 2:
Green:
/sys/class/leds/led2-green
Amber:
/sys/class/leds/led2-amber
You can manage User 1 and User 2 only. Other LEDs are reserved.
10.10.1
How to Drive a LED
Each LED is managed by its respective GPIO.
To turn ON/OFF a LED (for example LED User 2), enter the following commands:
#turn led on green
echo 1 > /sys/class/leds/led2-green/brightness
#turn led off
echo 0 > /sys/class/leds/led2-green/brightness
79 / 102
Содержание BoltGATE 20-25
Страница 4: ...This page has been intentionally left blank...
Страница 12: ...This page has been intentionally left blank...
Страница 14: ...This page has been intentionally left blank...
Страница 16: ...This page has been intentionally left blank...
Страница 24: ...This page has been intentionally left blank...
Страница 48: ...This page has been intentionally left blank...
Страница 66: ...This page has been intentionally left blank...
Страница 86: ...This page has been intentionally left blank...
Страница 92: ...This page has been intentionally left blank...
Страница 94: ...This page has been intentionally left blank...
Страница 98: ...This page has been intentionally left blank...
Страница 101: ...BoltGATE 20 25 User Manual Rev 1 1 Notes NOTES 101 102...