Forked from LibPN532

Dependents:   NFC_Secure_Access NFC_Secure_Access

Fork of LibPN532 by dotnfc Tang

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