beautypg.com

6 touchpad, 7 display functions – Matrix Orbital GLT240128 Legacy User Manual

Page 62

background image

Description

Syntax

Page

Draw a Rectangle

Hexadecimal

0xFE 0x72 [color] [x1] [y1] [x2] [y2]

Decimal

254 114 [color] [x1] [y1] [x2] [y2]

ASCII

254 “r” [color] [x1] [y1] [x2] [y2]

32

Drawing a Solid
Rectangle

Hexadecimal

0xFE 0x78 [color] [x1] [y1] [x2] [y2]

Decimal

254 120 [color] [x1] [y1] [x2] [y2]

ASCII

254 “x” [color] [x1] [y1] [x2] [y2]

32

Initializing a Bar Graph

Hexadecimal

0xFE 0x67 [refID] [type] [x1] [y1] [x2] [y2]

Decimal

254 103 [refID] [type] [x1] [y1] [x2] [y2]

ASCII

254 “g” [refID] [type] [x1] [y1] [x2] [y2]

33

Drawing a Bar Graph

Hexadecimal

0xFE 0x69 [ref] [value]

Decimal

254 105 [ref] [value]

ASCII

254 “i” [ref] [value]

34

Initializing a Strip Chart

Hexadecimal

0xFE 0x6A [refID] [x1] [y1] [x2] [y2]

Decimal

254 106 [refID] [x1] [y1] [x2] [y2]

ASCII

254 “j” [refID] [x1] [y1] [x2] [y2]

34

Shifting a Strip Chart

Hexadecimal

0xFE 0x6B [ref]

Decimal

254 107 [ref]

ASCII

254 “k” [ref]

35

14.6

Touchpad

Description

Syntax

Page

Set Touch Region

Hexadecimal

0xFE 0x84 [num] [x] [y] [w] [h] [keyDown] [keyUp]

Decimal

254 132 [num] [x] [y] [w] [h] [keyDown] [keyUp]

37

Delete Touch Region

Hexadecimal

0xFE 0x85 [num]

Decimal

254 133 [num]

37

Delete All Touch Regions

Hexadecimal

0xFE 0x86

Decimal

254 134

37

Set Touch Mode

Hexadecimal

0xFE 0x87 [mode]

Decimal

254 135 [mode]

38

Set Region Reporting
Mode

Hexadecimal

0xFE 0x88 [mode]

Decimal

254 136 [mode]

38

Set Dragging Threshold

Hexadecimal

0xFE 0x89 [threshold]

Decimal

254 137 [threshold]

39

Set Pressure Threshold

Hexadecimal

0xFE 0x8A [threshold]

Decimal

254 138 [threshold]

39

Run Touchpad
Calibration

Hexadecimal

0xFE 0x8B

Decimal

254 139

39

14.7

Display Functions

Matrix Orbital

GLT240128

57