PN532 NFC library for Seeed Studio's NFC Shield

Fork of PN532 by Yihui Xiong

Revision:
0:9c6b9280c0e1
Child:
1:b8cab5222fd0
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/debug.h	Tue Oct 08 08:33:22 2013 +0000
@@ -0,0 +1,17 @@
+#ifndef __DEBUG_H__
+#define __DEBUG_H__
+
+//#define DEBUG
+
+#ifdef DEBUG
+
+#include <stdio.h>
+
+#define DMSG(str)       printf("%s\r\n", str)
+#define DMSG_HEX(n)     printf("%2X ", n)
+#else
+#define DMSG(str)
+#define DMSG_HEX(n)
+#endif
+
+#endif