Example 6, Example 7, Example 8 – SCANTECH ID (Champtek company) Discovery SG-20 User Manual

Page 85

Advertising
background image

Scantech-ID Discovery SG-20

77

Example 6

Show the text 'Hello World' permanently when the Discovery is idle.

COMMAND or data string

COMMENT

<ESC> 0x25

Clear the screen

<ESC> 0x27 0x30 0x33

Set cursor to 0,3

"Hello World"

Print text

<ESC> 0x26 0x31

Give the 'Lock screen' command

Example 7

Show Image #5 permanently when the Discovery is idle.

COMMAND

COMMENT

<ESC> 0x26 0x32 0x35

Lock screen using bitmap #5

Example 8

How to create this screen with icons:

COMMAND or data string

COMMENT

<ESC> 0x25

Clear the screen

<ESC> 0x3b 0x31

Show icon 1

*1

<ESC> 0x3b 0x32

Show icon 2

*1

Advertising