ACR122T – Application Programming Interface
Version 2.02
www.acs.com.hk
Page 23 of 45
Data Out: SW1 SW2.
Status Code returned by the reader.
Results
SW1
SW2
Meaning
Success
90h
Current LED State
The operation completed successfully.
Error
63h
00h
The operation failed.
Status
Item
Description
Bit 0
Current Red LED
1 = On; 0 = Off
Bit 1
Current Green LED
1 = On; 0 = Off
Bits 2 – 7
Reserved
Table 8
: Current LED State (1 Byte)
Notes:
1. The LED State operation will be performed after the LED Blinking operation is completed.
2. The LED will not be changed if the corresponding LED Mask is not enabled.
3. The LED will not be blinking if the corresponding LED Blinking Mask is not enabled. Also, the
number of repetition must be greater than zero.
4. T1 and T2 duration parameters are used for controlling the duty cycle of LED blinking and
Buzzer Turn-On duration. For example, if T1=1 and T2=1, the duty cycle = 50%. #Duty Cycle
= T1/(T1 + T2).
5. To control the buzzer only, just set the P2 “LED State Control” to zero.
6. The make the buzzer operating, the “number of repetition” must greater than zero.
7.
To control the LED only, just set the parameter “Link to Buzzer” to zero.