EasyManuals Logo
Home>Lightware>Switch>UCX-4x2-HC30

Lightware UCX-4x2-HC30 User Manual

Lightware UCX-4x2-HC30
167 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #98 background imageLoading...
Page #98 background image
 UCX series – User's Manual 98


Setting the Direction of a GPIO Pin
Request and Response
ɯ  <ip><port>
ɯ body: <dir>
ɮ header: 200 OK
ɮ body: <dir>
Parameters
Parameter Parameter description  
<dir> The direction of the GPIO pin.
Input
input
Output
output
Example
ɯ  
ɯ body: Input
ɮ header: 200 OK
ɮ body: Input
Setting the Output Level of a GPIO Pin
Request and Response
ɯ  <ip><port>
ɯ body: <state>
ɮ header: 200 OK
ɮ body: <state>
Parameters
Parameter Parameter description  
<value> The output value of the GPIO pin.
High
high level
Low
low level
Example
ɯ  
ɯ body: High
ɮ header: 200 OK
ɮ body: High

Request and Response
ɯ  <ip><port>
ɯ body: <value>;<time>
ɮ header: 200 OK
ɮ body: <value>;<time>
Parameters
Parameter Parameter description  
<value> The output value of the GPIO pin.
High
high level
Low
low level
<time> Duration of the desired value in seconds.
1-120
second
Example
ɯ  
ɯ  
ɮ header: 200 OK
ɮ body: OK
Toggling the Level of a GPIO Pin
The output level can be changed from high to low and low to high by the command below.
Request and Response
ɯ  <ip><port>
INFO: 
ɮ header: 200 OK
ɮ body: OK
Example
ɯ  
ɮ header: 200 OK
ɮ body: OK

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Lightware UCX-4x2-HC30 and is the answer not in the manual?

Lightware UCX-4x2-HC30 Specifications

General IconGeneral
BrandLightware
ModelUCX-4x2-HC30
CategorySwitch
LanguageEnglish

Related product manuals