beautypg.com

14 orientation, read, Orientation, read, Basic commands – Barco RS232 User Manual

Page 52

background image

2. Basic Commands

Transmit

Checksum

\x85

Stop

\xff

Receive (acknowledge)

Start

\xfe

Projector address

\x01

Command[0]

\x00

Command[1]

\x06

Checksum

\x07

Stop

\xff

2.14 Orientation, Read

Description

Reads the orientation of the projector

Command

Command [0]

\x21

Command [1]

\x24

Returned Data

Data [0] = unsigned byte

byte value:

\x00

= rear/table ;

\x40

= front/table ;

\x80

= front/ceiling ;

\xc0

= rear/ceiling

Example

Read the orientation being :

\x40

= front/table.

Transmit

Start

\xfe

Projector address

\x01

Command[0]

\x21

Command[1]

\x24

Checksum

\x46

Stop

\xff

Receive (acknowledge)

Start

\xfe

Projector address

\x01

Command[0]

\x00

Command[1]

\x06

50

R5976884 RLM SERIES 04/04/2006