NFC library using PN532 to read/write NDEF Messages to NFC tags
Dependents: Seeed_NFC_Shield_write Nucleo_test_nfc
Fork of PN532 by
PN532_debug.h
- Committer:
- screamer
- Date:
- 2014-03-25
- Revision:
- 6:26c1b3b6c192
- Parent:
- 3:4189a10038e6
File content as of revision 6:26c1b3b6c192:
#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__