initial commit

This commit is contained in:
2021-10-02 11:41:29 +02:00
commit ae7421a5b3
26 changed files with 3512 additions and 0 deletions

20
PN532_debug.h Normal file
View File

@@ -0,0 +1,20 @@
#ifndef __DEBUG_H__
#define __DEBUG_H__
//#define DEBUG
#include "Arduino.h"
#ifdef DEBUG
#define DMSG(args...) Serial.print(args)
#define DMSG_STR(str) Serial.println(str)
#define DMSG_HEX(num) Serial.print(' '); Serial.print(num, HEX)
#define DMSG_INT(num) Serial.print(' '); Serial.print(num)
#else
#define DMSG(args...)
#define DMSG_STR(str)
#define DMSG_HEX(num)
#define DMSG_INT(num)
#endif
#endif