I/O Management; Control Gpio (Leds) - Asus Aaeon SRG-4858P User Manual

Iot gateway system
Table of Contents

Advertisement

3.7

I/O Management

This section details how to operate the programable I/O functions; GPIO and RS-485
2-wire 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 Yellow
led1
2 Red
Led2
Chapter 3 – Gateway Setup and Configuration
Picture
Number
3 Blue
4 Green
Label
Picture
led3
led4
27

Advertisement

Table of Contents
loading

Table of Contents