beautypg.com

Four leds control – ACS ACR1283L User Manual

Page 45

background image

ACR1283L – Reference Manual

[email protected]

Version 1.00

www.acs.com.hk

Page 45 of 55

5.4.14. Four LEDs Control

This command is used to control the four LEDs.

LEDs Control Command Format (5 Bytes)

Command

Class

INS

P1

P2

Lc

LEDs Control

0xFFh

0x00h 0x44h

bLEDsState

0x00h

Where:

P2:

bLEDsState


LED_0, LED_1, LED_2 and LED_3 Control Format (1 Byte)

CMD

Item

Description

Bit 0

LED_0 State

1 = On; 0 = Off

Bit 1

LED_1 State

1 = On; 0 = Off

Bit 2

LED_2 State

1 = On; 0 = Off

Bit 3

LED_3 State

1 = On; 0 = Off

Bits 4 – 7

Reserved

-

Where:

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.