beautypg.com

Lanner Digital Input/Output User Manual

Page 20

background image

Software User Manual

Version 1.0

18

F81865 WirelessLED port_number value

Argument:

DIO_IN

Read state from DIO In.

DIO_OUT

Set DIO Out state.

PIO Set PIO LED state.

RunLED

Set RUN LED state.

AlarmLED Set Alarm LED state.

GPS_LED Set GPS LED state.

WirelessLED Set Wireless LED state.

Where

port_number The port number.

value 1 for on and 0 for off.

command The command number

For instance:

DIO:

To run the test program, type:

F81865 DIO_In port_number

F81865 DIO_Out port_number value

Example:

F81865 DIO_In 2

F81865 DIO_Out 3 1