Appendix e, Sample codes for setting the led, Appendix e. sample codes for setting the led – ACS AET62 NFC Reader with Fingerprint Sensor User Manual
Page 34

Appendix E. Sample Codes for Setting the LED
Example 1: To read the existing LED State
// Assume both Red and Green LEDs are OFF initially //
APDU = “FF 00 40 00 04 00 00 00 00”
Response = “90 00”. RED and Green LEDs are OFF.
Example 2: To turn on RED and Green Color LEDs
// Assume both Red and Green LEDs are OFF initially //
APDU = “FF 00 40 0F 04 00 00 00 00”
Response = “90 03”. RED and Green LEDs are ON,
To turn off both RED and Green LEDs, APDU = “FF 00 40 0C 04 00 00 00 00”
Example 3: To turn off the RED Color LED only, and leave the Green Color LED unchanged
// Assume both Red and Green LEDs are ON initially //
APDU = “FF 00 40 04 04 00 00 00 00”
Response = “90 02”. Green LED is not changed (ON); Red LED is OFF,
Red LED On
Red LED Off
Green LED On
Green LED Off
Document Title Here
Document Title Here
Document Title Here
AET62 Reference Manual
Version 1.00
Page 34 of 35
www.acs.com.hk