I have the latest version and tried following the test code in # NFC Shield V2.0 - Error compiling for board Arduino Uno, but there is still the error.
ReadTag:2:10: fatal error: Seeed_Arduino_NFC.h: No such file or directory
#include <Seeed_Arduino_NFC.h>
^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
exit status 1
Seeed_Arduino_NFC.h: No such file or directory
Here is the test code provided in that topic.
#include <SPI.h>
#include <Seeed_Arduino_NFC.h>
#include <NfcAdapter.h>
PN532_SPI pn532spi(SPI, 10);
NfcAdapter nfc = NfcAdapter(pn532spi);
void setup(void) {
Serial.begin(115200); // begin serial communication
Serial.println("NDEF Reader");
nfc.begin(); // begin NFC communication
}
void loop(void) {
Serial.println("\nScan an NFC tag\n");
if (nfc.tagPresent()) // Do an NFC scan to see if an NFC tag is present
{
NfcTag tag = nfc.read(); // read the NFC tag into an object, nfc.read() returns an NfcTag object.
tag.print(); // prints the NFC tags type, UID, and NDEF message (if available)
}
delay(500); // wait half a second (500ms) before scanning again (you may increment or decrement the wait time)
}