Manage Digital I/O - Asus AAEON SRG-ACAN User Manual

Iot gateway system
Table of Contents

Advertisement

3.7.4.2

Manage Digital I/O

Set Digital Output State
Use the following command to set digital output state to ON or OFF
$ setdo
CHANNEL
STATE
set to 1 for ON or 0 for OFF
Example:
Get Digital Input Status
Use the following command to check the status of digital input:
$ getdi
CHANNEL
The system will return a value of 1 for ON and 0 for OFF.
Chapter 3 – Gateway Setup and Configuration
CHANNEL
STATE
0, 1, 2, or 3
CHANNEL
0, 1, 2, or 3
37

Advertisement

Table of Contents
loading

Table of Contents