beautypg.com

8dallas 1-wire, 4 set startup gpo state, 1 introduction – Matrix Orbital LK402-25 Legacy User Manual

Page 32: 2 search for a 1-wire device

background image

Description

This command turns ON general purpose output [num]. The standard
GPO’s on the LK402-25 output 20mA of current at 5V.

NOTE

ON means the output is pulled HIGH.

Remembered

Yes

7.4

Set Startup GPO state

Syntax

Hexadecimal

0xFE 0xC3 [Num] [state]

Decimal

254 195 [Num] [state]

Parameters

Parameter

Length

Description

Num

1

GPO number.

state

1

Startup state (0: Off, 1: On)

Description

This command will set the startup state for the GPO on the next power
up. A value of one will cause the GPO to be off on the next startup
while a value of one will cause the GPO to be on.

NOTE

This command does not affect the current state of the GPO.

Remembered

Always

8

Dallas 1-Wire

8.1

Introduction

Another convenient feature of the LK402-25 is that it provides a Dallas 1-wire interface in order to

readily communicate with up to thirty two 1-wire devices on a single bus. 1-wire communication is begun
by discovering the address of the device that you wish to communicate with. To do this you must send the
“Search for a 1-Wire Device’ command. After you have established the address of the device that you wish
to communicate with, you may begin a transaction with the device

8.2

Search for a 1-Wire Device

Syntax

Hexadecimal

0xFE 0xC8 0x2

Decimal

254 200 2

Matrix Orbital

LK402-25

28