beautypg.com

Lcd display (graphic mode) – ACS ACR1283L User Manual

Page 50

background image

ACR1283L – Reference Manual

[email protected]

Version 1.00

www.acs.com.hk

Page 50 of 55

CMD

Item

Description

Bit 0

Character Bold Font

1 = Bold; 0 = Normal

Bit 1 - 7

Reserved

-

P2:

LCD XY Position. The character to be displayed on the LCD position specified by DDRAM

Address.


Please follow the DDRAM table below for the LCD character position’s representation.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16

DISPLAY

POSITION

FIRST LINE

00

01

02

03

04

05

06

07

LCD XY

POSITION

SECOND

LINE

40

41

42

43

44

45

46

47

Where:

Lc:

The length of the LCD message (max. 0x10). If the message length is longer than the

number of character that the LCD screen’s can be shown, then the redundant

character will not be shown on the LCD.
The length of the LCD message should be multiplied by 2 because each Chinese

character (GB code) should contain two bytes.

Data In:

LCD Message.

The data to be sent to LCD, maximum 8 (2x8 bit each character)

character for each line. Please follow the fonts table of GB Coding.

Data Out: SW1 SW2


Status Code

Results

SW1 SW2

Meaning

Success

90 00h

The operation is completed successfully.

Error

63 00h

The operation is failed.

5.4.16.4. LCD Display (Graphic Mode)

This command is used to display LCD message in graphic mode.

LCD Display Command Format (5 Bytes + LCD Message Length)

Command

Class

INS

P1

P2

Lc

Data In

(Max. 128 Bytes)

LCD Display

0xFFh

0x00h 0x6Ah Line Index

Pixel Data

Length

Pixel Data

Where:

P2:

Line Index. This is used to set which line in the LCD display should start to update.