7 miscellaneous commands, 1 command list – Matrix Orbital PK202-24-USB User Manual

Page 32

Advertising
background image

6.4.2 Search command (254 C8 2)

This is used to find the addresses of all 1-Wire devices on the bus. After this command the display will

return one or more “Display return protocol” packets containing either an error code or addresses of 1-wire

packets.

Table 18: Search Return Packet

Offset

(Bytes)

Offset

(Bytes)

Description

0

2

0x232A - Preamble

2

1

0x8A - Packet is 10 bytes long, an-

other address will follow 0x0A -

Packet is 10 bytes long, this is the

last address

3

1

0x31 - 1-Wire Packet Type

4

1

Error Code (0x00 for success)

5

8

1-Wire Address

13

1

CRC8 - 0x00 means the last address

was valid

7 Miscellaneous Commands

The commands listed in this chapter don’t readily fit in any of the other categories, or are used in more

than one category.

7.1 Command List

Some commands, marked with an “R”, may be "Remembered" to set new defaults that will be in effect

each time the unit is powered on.

7.1.1 Remember (254 147 [0|1])

This command allows a number of settings, such as cursor state, backlight, etc., to automatically be

stored in non-volatile memory, so they become new defaults. The command should only be used when

required for two reasons;

1. Writing to non-volatile memory is time consuming and slows down the operation of the display.

2. Non-volatile memory has a ’write limit’, and may only be changed approximately 100,00 times.

Commands which may be used with the remember function are marked with an “R” in the default column

in the command tables.

Matrix Orbital

PK202-24-USB

28

Advertising