3.7
I/O Management
This section details how to operate the programable I/O functions; GPIO and Serial Port
connectors.
3.7.1
Control GPIO (LEDs)
To control the GPIO manually, issue the following commands, this example uses led1:
GPIO On:
$ echo 1 > /sys/class/leds/srt3352:led1/brightness
GPIO Off:
$ echo 0 > /sys/class/leds/srt3352:led1/brightness
Use the following table to reference each LED label for the command:
Number
Label
1 Red
led1
2 Green
Led2
Chapter 3 – Gateway Setup and Configuration
Picture
Number
3 Yellow
4 Orange
Label
Picture
led3
led4
30