Enable/Disable The Ethernet Port; Gpio Port Configuration; Setting The Level And Direction For Each Pins - Lightware RAP-B511-EU User Manual

Room automation panel
Table of Contents

Advertisement

 
6. LW2 Programmer's Reference
6.4.6. Enable/disable the Ethernet Port
Command and Response
 {ETH_ENABLE=<switch>}
 (ETH_ENABLE=<switch>)CrLf
Parameters
If the
<switch>
parameter is 0, the port is disabled. If its value is 1, the port is enabled.
Example
 {ETH_ENABLE=1}
 (ETH_ENABLE=1)
6.5. GPIO Port Configuration
6.5.1. Setting the Level and Direction for Each Pins
GPIO pins can be configured as follows. See more details about GPIO connector in the
Purpose Input/Output Ports
section.
Command and Response
#gpio
 {GPIO<pin_nr>=<dir>;<level>}
 (GPIO<pin_nr>=<dir>;<level>)CrLf
Parameters
Parameter
Parameter description
<pin_nr>
GPIO pin number
<dir>
The direction of the communication
<level>
The level of the pin
Example
 {gpio1=O;H}
 (GPIO1=O;H)
GPIO pin 1 is set to output with high level.

INFO:
The current GPIO pin configuration can be queried by typing the {GPIO<pin_nr>=?} command.
RAP-B511 series – User's Manual
GPIO - General
Value
Value description
0-3
static
Input
I
Output
O
Low
L
High
H
Toggle between low and high
T
Applied firmware package: v1.1.0b3b3 | LDC software: v2.5.1b5
63

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rap-b511-kRap-b511-wRap-b511-sRap-b511-ukRap-b511-us

Table of Contents