refactor and split class
move hardware manipulation functions into new class
This commit is contained in:
14
src/MFRC522Debug.h
Normal file
14
src/MFRC522Debug.h
Normal 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
|
||||
Reference in New Issue
Block a user