IRQ based tag polling
This commit is contained in:
@ -16,6 +16,8 @@ public:
|
||||
SVector<Mfrc522, NFC_PORTS> readers;
|
||||
SVector<uint8_t, NFC_PORTS> irqPins;
|
||||
|
||||
static void detectCb(Mfrc522* reader, void* data);
|
||||
|
||||
NfcBoard();
|
||||
|
||||
void probe();
|
||||
@ -23,4 +25,8 @@ public:
|
||||
void printNfcDevices(Serial* serial);
|
||||
|
||||
int dispatch(char* inBuffer, Serial* serial);
|
||||
|
||||
uint8_t csToIrq(uint8_t cs);
|
||||
};
|
||||
|
||||
extern NfcBoard nfcBoard;
|
||||
|
Reference in New Issue
Block a user