Sorry for hijacking this post.
I am using the Seeeduino Yun with the NFC Grove 1.1
I installed the library following the Seeeduino wiki page ( https://wiki.seeedstudio.com/Grove_NFC/) and flashed the sketch from the example (read tag), which is the same as you have posted.
The serial monitor is showing nothing. I checked into the code. It is because the code hangs in following snipet (NfcAdapter.cpp).
I commented out the while loop, but then the uint32_t versiondata = shield->getFirmwareVersion() returns zero.
Any ideas?
void NfcAdapter::begin(boolean verbose) {
…
if (! versiondata) {
#ifdef NDEF_USE_Serial
Serial.print(F(“Didn’t find PN53x board”));
#endif
while (1); // halt
}