ACR122T – Application Programming Interface
Version 2.02
www.acs.com.hk
Page 45 of 45
Example 7: To make Red and Green LED blink in turns at 1Hz three times.
// Assume both Red and Green LEDs are initially OFF. //
// The Initial Red Blinking State is ON; The Initial Green Blinking States is OFF //
// The buzzer will turn on during the T1 duration//
1 Hz = 1000 ms Time Interval = 500 ms ON + 500 ms OFF
T1 Duration = 500 ms = 0x05h
T2 Duration = 500 ms = 0x05h
Number of repetition = 0x03h
Link to Buzzer = 0x01h
APDU = “FF 00 40 D0 04 05 05 03 01h”; Response = “90 00h”
T1 =
500 ms
Red LED On
Red LED Off
Green LED On
Green LED Off
Buzzer Off
Buzzer On
T2 =
500 ms