beautypg.com

2 general purpose output off, 3 general purpose output on, 4 set startup gpo state – Matrix Orbital LCD2041 User Manual

Page 37

background image

7.2

General Purpose Output Off

Syntax

Hexadecimal

0xFE 0x56 [Num]

Decimal

254 86 [Num]

ASCII

254 “V” [Num]

Parameters

Parameter

Length

Description

Num

1

GPO number.

Description

This command turns OFF general purpose output [num].

NOTE

OFF means that the output is pulled HIGH.

Remembered

Yes

7.3

General Purpose Output On

Syntax

Hexadecimal

0xFE 0x57 [Num]

Decimal

254 87 [Num]

ASCII

254 “W” [Num]

Parameters

Parameter

Length

Description

Num

1

GPO number.

Description

This command turns ON general purpose output [num]. The standard
GPO’s on the LCD2041 output 20mA of current at 5V.

NOTE

ON means the output is pulled LOW.

Remembered

Yes

7.4

Set Startup GPO state

Syntax

Hexadecimal

0xFE 0xC3 [Num] [state]

Decimal

254 195 [Num] [state]

Parameters

Parameter

Length

Description

Num

1

GPO number.

state

1

Startup state (0: Off, 1: On)

Matrix Orbital

LCD2041

33