Help compile project NFC

I am trying to build a project with the following includes and define:

#include <Wire.h>
#include <SPI.h>
#include <Adafruit_PN532.h>
#include <stdint.h>
#include <stdbool.h>
#if defined(ARDUINO_ARCH_SAMD)
#define Serial SerialUSB
#endif
#define PN532_SCK (14) //D5
#define PN532_MOSI (13) //D7
#define PN532_SS (4) //D2
#define PN532_MISO (12) //d6
#define PN532_IRQ (2)
#define PN532_RESET (3) // Not connected by default on the NFC Shield
Adafruit_PN532 nfc(PN532_SCK, PN532_MISO, PN532_MOSI, PN532_SS);

Compiling gives me the following error:

who can help me?
thx

Send the complete sketch.
Compiling errors refers to undefined references in OmegaNFC.ino

OmegaNFC.ino (30.4 KB)

I've tried and sketch can compile without problems on ESP8266, are you shure you have installed all dependencies of PN532 library?

i downloaded the latest GitHub - adafruit/Adafruit-PN532: Arduino library for SPI and I2C access to the PN532 RFID/Near Field Communication chip
and placed in the "libraries" folder

do i need anything else?

Yes, this library depends from Adafruit BusIO, but if you install libraries using library manager in Arduino IDE instead manually download the zip file, dependencies will be added as additional request.

Perfect, noob mistake -.- '

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.