   r.setType(type, sizeof(type));
   uint8_t payload[] = { 0x02, 0x65, 0x6E, 0x66, 0x6F, 0x6F };
   r.setPayload(payload, sizeof(payload));
-  m.add(r);
+  m.addRecord(r);
   m.print();
 }
 

{
  NdefMessage m = NdefMessage();
  NdefRecord r = NdefRecord();
  m.add(r);
  m.print();
}


#include <Wire.h>
#include <Adafruit_NFCShield_I2C.h>
#include <NdefMessage.h>
#include <NdefRecord.h>
//#include <MemoryFree.h>
#include <ArduinoUnit.h>

