PN532 Driver library This library provides an abstract API to drive the pn532 nfc chip, with I2C/HSU/SPI interface. Its based on the Seeed Studio's Arduino version.

Dependents:   PN532_ReadUid Nfctest2

Revision:
0:db8030e71f55
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/PN532/PN532_debug.h	Tue Sep 13 06:01:19 2016 +0000
@@ -0,0 +1,21 @@
+#ifndef __DEBUG_H__
+#define __DEBUG_H__
+
+#define DEBUG
+
+#include <stdlib.h>
+#include "Arduino.h"
+
+#ifdef DEBUG
+#define DMSG(args...)       printf (args)
+#define DMSG_STR(str)       printf (str)
+#define DMSG_HEX(num)       printf (" %02X", num)
+#define DMSG_INT(num)       printf (" %d ", num)
+#else
+#define DMSG(args...)
+#define DMSG_STR(str)
+#define DMSG_HEX(num)
+#define DMSG_INT(num)
+#endif
+
+#endif