4D Systems uLCD 28PTU - AR & Adafruit NFC Shield PN532

Good Evening everybody!

I´m really new to Arduino stuff so I really be a noob ::slight_smile:

I want to use the 28PTU Display to show connection Informations and an NFC Shield to get the needed Data without typing it in.

My Problem is that as soon as the "Genie genie;" declaration in my code is called, I can´t get data from my NFC shield. If I disable the declaration it works fine.

I have written together the most important parts of the program.

#include <genieArduino.h>

#include <SPI.h>
#include <WiFi.h>
#include <PN532_I2C.h>
#include <PN532.h>
#include <NfcAdapter.h>
#include <Wire.h>

//Genie genie;

Pn532_I2C pn532_i2c(Wire);
NfcAdapter nfc = NfcAdapter(pn532_i2c);

void setup() {
    pinMode(A0, INPUT);    //current
    pinMode(A2, INPUT);    //voltage
    pinMode(8, INPUT);     //tested NFC Interrupt on Pin8
    
    //open serial communications
    Serial.begin(9600);
    //genie.Begin(Serial);
    pinMode(2, OUTPUT);    //set D4 on Arduino to Output (4D Arduino Adaptor V2 - Display Reset)
    digitalWrite(2, 1);    //reset the Display via D4
    delay(100);
    digitalWrite(2, 0);
    
    //open serial communications
    nfc.begin();
    
   }
   
   void loop()  {
     //put your main code here, to run repeatedly:
     
     }

Nobody an idea?

Please can anybody help me?
I can´t find a solution on the internet.

1 Like