NFC with Seeed Studio XIAO nRF52840

408 views Asked by At

I'm trying to use my Seeed Studio XIAO nRF52840 like an NFC reader and like an NFC badge (not at the same time). For this, I have bought an NFC antenna, I soldered the wires to the two slots provided below the card and I have tried the official NFC example, but it returns NFC.h: No such file or directory.

The example of the wiki:

#include <NFC.h>

void setup() { 
  NFC.setTXTmessage("Hello World!", "en");
  NFC.start();
}

void loop() {
}

But, at the top of the wiki, It's write:

NOTE The NFC function for Seeed Studio XIAO nRF52840 board is temportorily not functioning. The new wiki will be updated as soon as possible, once the new NFC library comes out.

So I did some research and couldn't find anything to solve this problem.

Have you an idea to solve my problem please ?

Thank you for your help

1

There are 1 answers

1
Kaiyo Fox On

The wiki says to use:

#include <NFCT.h>