refactor and split class

move hardware manipulation functions into new class
This commit is contained in:
Rotzbua
2017-05-22 12:25:18 +02:00
parent 9c221e59ee
commit 0b258bfe0f
8 changed files with 299 additions and 242 deletions

14
src/MFRC522Debug.h Normal file
View File

@@ -0,0 +1,14 @@
#include "MFRC522.h"
#ifndef MFRC522Debug_h
#define MFRC522Debug_h
class MFRC522Debug {
private:
public:
// Get human readable code and type
static const __FlashStringHelper *PICC_GetTypeName(MFRC522::PICC_Type type);
static const __FlashStringHelper *GetStatusCodeName(MFRC522::StatusCode code);
};
#endif // MFRC522Debug_h