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

Committer:
dotnfc
Date:
Tue Sep 13 06:17:35 2016 +0000
Revision:
1:b5922b3b3257
Parent:
0:db8030e71f55
Remove ununsed files.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
dotnfc 0:db8030e71f55 1 #ifndef __DEBUG_H__
dotnfc 0:db8030e71f55 2 #define __DEBUG_H__
dotnfc 0:db8030e71f55 3
dotnfc 0:db8030e71f55 4 #define DEBUG
dotnfc 0:db8030e71f55 5
dotnfc 0:db8030e71f55 6 #include <stdlib.h>
dotnfc 0:db8030e71f55 7 #include "Arduino.h"
dotnfc 0:db8030e71f55 8
dotnfc 0:db8030e71f55 9 #ifdef DEBUG
dotnfc 0:db8030e71f55 10 #define DMSG(args...) printf (args)
dotnfc 0:db8030e71f55 11 #define DMSG_STR(str) printf (str)
dotnfc 0:db8030e71f55 12 #define DMSG_HEX(num) printf (" %02X", num)
dotnfc 0:db8030e71f55 13 #define DMSG_INT(num) printf (" %d ", num)
dotnfc 0:db8030e71f55 14 #else
dotnfc 0:db8030e71f55 15 #define DMSG(args...)
dotnfc 0:db8030e71f55 16 #define DMSG_STR(str)
dotnfc 0:db8030e71f55 17 #define DMSG_HEX(num)
dotnfc 0:db8030e71f55 18 #define DMSG_INT(num)
dotnfc 0:db8030e71f55 19 #endif
dotnfc 0:db8030e71f55 20
dotnfc 0:db8030e71f55 21 #endif