Home

 Access to the serial port screen control register, control serial port screen jumps to page 4

ØSend(HEX) 5A A5 04 80 03 0004

5A A5 Communication frame header.

04   Data length.

80   Write control register command.

03   The PIC_ID address in the control register.

0004 Jump to page 4


Access to the serial port screen control register, read touch location information.

ØSend (HEX) 5A A5 03 81 07 04

5A A5 Communication frame header.

03 Data length.

81 Read Control Register command

07 TP_Position address in the control register

04 Read the data length of register

ØReceive(HEX) 5A A5 07 81 07 04 0012 0045.

5A A5 Communication frame header.

07 Data length.

81 Read Control register command.

07 Read the control register address.

04 The data length you read.

0012 The X-coordinate value in the TP_position register.

0045 The Y-coordinate value in the TP_position register.


Access to the serial port screen data variable memory and write the number 1234 (short int) to address 0013.

ØSend(HEX) 5A A5 05 0013 1234

5A A5 Communications frame header.

05 Data length.

82 Write data variable storage area command.

0013 Write the address of the variable storage area.

1234 Write the corresponding address data.


Access to the serial port screen data register, read 1 words (2 bytes) data in address 0013

ØSend(HEX) 5A A5 04 83 00 13 01.

5A A5 Communication frame header.

04 Data length.

83 Read Data Register command .

0013 Read the address of the data register.

01 The data length you read

ØReceive(HEX) 5A A5 07 83 0013 01 1234.

5A A5 Communication frame header.

07 Data length.

83 Read Data Register command.

0013 Read the address of the data register.

01 The variable data length you read

1234 The data you read.