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/PN532_debug.h
- Committer:
- dotnfc
- Date:
- 2016-09-13
- Revision:
- 1:b5922b3b3257
- Parent:
- 0:db8030e71f55
File content as of revision 1:b5922b3b3257:
#ifndef __DEBUG_H__ #define __DEBUG_H__ #define DEBUG #include <stdlib.h> #include "Arduino.h" #ifdef DEBUG #define DMSG(args...) printf (args) #define DMSG_STR(str) printf (str) #define DMSG_HEX(num) printf (" %02X", num) #define DMSG_INT(num) printf (" %d ", num) #else #define DMSG(args...) #define DMSG_STR(str) #define DMSG_HEX(num) #define DMSG_INT(num) #endif #endif