 /**************************************************************************/
 /*! 
-    @file     readMifare.pde
-    @author   Adafruit Industries
-    @license  BSD (see license.txt)
+    @file     tomatino_Arduino
+    @author   Encore Lab
+    Dependencies: Adafruit Adafruit_NFCShield_I2C Library at: https://github.com/adafruit/Adafruit_NFCShield_I2C
+    Adapted from example code at https://github.com/adafruit/Adafruit_NFCShield_I2C/tree/master/examples/readMifare
+    For use with the adafruit NFC/RFID Controller Shield for Arduino: https://www.adafruit.com/products/789
 
     This example will wait for any ISO14443A card or tag, and
     depending on the size of the UID will attempt to read from it.

Adafruit_NFCShield_I2C nfc(IRQ, RESET);

void setup(void) {
  Serial.begin(9600);
  Serial.println("Hello!");

  nfc.begin();

  uint32_t versiondata = nfc.getFirmwareVersion();
  if (! versiondata) {
    Serial.print("Didn't find PN53x board");
    while (1); // halt
  }
  // Got ok data, print it out!
  Serial.print("Found chip PN5"); Serial.println((versiondata>>24) & 0xFF, HEX); 
  Serial.print("Firmware ver. "); Serial.print((versiondata>>16) & 0xFF, DEC); 
  Serial.print('.'); Serial.println((versiondata>>8) & 0xFF, DEC);
  
  // configure board to read RFID tags
  nfc.SAMConfig();

    Ultralight card, and the 4 byte pages can be read directly.
    Page 4 is read by default since this is the first 'general-
    purpose' page on the tags.
*/
/**************************************************************************/

#include <Wire.h>
#include <Adafruit_NFCShield_I2C.h>

