LEER TAG

Dependents:   NFC_HTM_READ EMULAR_TAGS Escribir_tag NFC_HTM_READ-WRITE

Revision:
0:b805b487fbef
Child:
1:a549ef8b142a
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/PN532_debug.h	Fri Apr 24 18:17:09 2015 +0000
@@ -0,0 +1,24 @@
+#ifndef __DEBUG_H__
+#define __DEBUG_H__
+
+//#define DEBUG
+
+#ifdef DEBUG
+
+#include <stdio.h>
+
+#define DMSG(args...)   printf(args)
+#define DMSG_STR(str)   printf("%s\n", str)
+#define DMSG_INT(num)   printf("%d\n", num)
+#define DMSG_HEX(num)   printf("%2X ", num)
+
+#else
+
+#define DMSG(args...)
+#define DMSG_STR(str)
+#define DMSG_INT(num)
+#define DMSG_HEX(num)
+
+#endif  // DEBUG
+
+#endif  // __DEBUG_H__