LEER TAG

Dependents:   NFC_HTM_READ EMULAR_TAGS Escribir_tag NFC_HTM_READ-WRITE

PN532_debug.h

Committer:
mauroar211
Date:
2015-04-24
Revision:
1:a549ef8b142a
Parent:
0:b805b487fbef

File content as of revision 1:a549ef8b142a:

#ifndef __DEBUG_H__
#define __DEBUG_H__

//#define DEBUG
#include <stdio.h>

#ifdef DEBUG



#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__