User Manual

VMA211
V. 01 09/05/2019 8 ©Velleman nv
if (id != 0)
{
#ifdef NFC_DEMO_DEBUG
Serial.print("Read card #");
Serial.println(id);
#endif
uint8_t keys[]= { 0xFF,0xFF,0xFF,0xFF,0xFF,0xFF };
if(nfc.authenticateBlock(1, id ,0x08,KEY_A,keys)) //authenticate block 0x08
{
//if authentication successful
uint8_t block[16];
//read memory block 0x08
if(nfc.readMemoryBlock(1,0x08,block))
{
#ifdef NFC_DEMO_DEBUG
//if read operation is successful
for(uint8_t i=0;i<16;i++)
{
//print memory block
Serial.print(block[i],HEX);
Serial.print(" ");
}
Serial.println();
#endif
}
}
}
delay(1000);
}
10. More Information
For more information about the VMA211, please visit www.velleman.eu or
http://wiki.keyestudio.com/index.php/Ks0259_keyestudio_PN532_NFC/RFID_Controller_Shield
RED Declaration of Conformity
Hereby, Velleman NV declares that the radio equipment type VMA211 is in compliance with Directive
2014/53/EU.
The full text of the EU declaration of conformity is available at the following internet address:
www.velleman.eu.
Use this device with original accessories only. Velleman nv cannot be held responsible in the event
of damage or injury resulting from (incorrect) use of this device. For more info concerning this
product and the latest version of this manual, please visit our website www.velleman.eu. The
information in this manual is subject to change without prior notice.
© COPYRIGHT NOTICE
The copyright to this manual is owned by Velleman nv. All worldwide rights reserved. No part of this
manual may be copied, reproduced, translated or reduced to any electronic medium or otherwise without the
prior written consent of the copyright holder.