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
00001 #ifndef __DEBUG_H__ 00002 #define __DEBUG_H__ 00003 00004 //#define DEBUG 00005 00006 #ifdef DEBUG 00007 00008 #include <stdio.h> 00009 00010 #define DMSG(args...) printf(args) 00011 #define DMSG_STR(str) printf("%s\n", str) 00012 #define DMSG_INT(num) printf("%d\n", num) 00013 #define DMSG_HEX(num) printf("%2X ", num) 00014 00015 #else 00016 00017 #define DMSG(args...) 00018 #define DMSG_STR(str) 00019 #define DMSG_INT(num) 00020 #define DMSG_HEX(num) 00021 00022 #endif // DEBUG 00023 00024 #endif // __DEBUG_H__
Generated on Tue Jul 12 2022 21:59:39 by 1.7.2