NFC( Near Field Communication Technology) by RFID( Radio-frequency identification) evolved, and now this technology has been widely used in mobile devices, the mobile with NFC-enabled can act as access cards, transportation cards, credit cards and so on, this to say, it makes the mobile devices more widely.
Now the old version of PN532 libraries is not compatible with most of the versions of 1.5.6, but it can be used if you do a slightly modify.
Click to download PN532 libraries: PN532
1. Download the PN532 libraries then unpacked into the Arduino IDE folder corresponding libraries NFC_PN532_03
2. Then open Arduino IDE, and choose File->Examples->PN532->ReadMifareTargetID in turn.
3. Choose the correct board type and port number( in this case board choose Arduino UNO, port choose COM3, modify according to different situation)
4. Open the Arduino serial tool, put the cards to the sensing area of the NFC shield