PN532 Driver library This library provides an abstract API to drive the pn532 nfc chip, with I2C/HSU/SPI interface. Its based on the Seeed Studio's Arduino version.
Dependents: PN532_ReadUid Nfctest2
PN532_debug.h
00001 #ifndef __DEBUG_H__ 00002 #define __DEBUG_H__ 00003 00004 #define DEBUG 00005 00006 #include <stdlib.h> 00007 #include "Arduino.h" 00008 00009 #ifdef DEBUG 00010 #define DMSG(args...) printf (args) 00011 #define DMSG_STR(str) printf (str) 00012 #define DMSG_HEX(num) printf (" %02X", num) 00013 #define DMSG_INT(num) printf (" %d ", num) 00014 #else 00015 #define DMSG(args...) 00016 #define DMSG_STR(str) 00017 #define DMSG_HEX(num) 00018 #define DMSG_INT(num) 00019 #endif 00020 00021 #endif
Generated on Tue Jul 12 2022 20:44:47 by 1.7.2