update rfid

This commit is contained in:
2021-10-17 13:43:56 +02:00
parent feb6ce4e01
commit 684688da7b
3 changed files with 3 additions and 2 deletions

View File

@@ -11,6 +11,7 @@
#define NFC_MOSI 23
#define NFC_MISO 19
#define NFC_RST 22 //not connectedx
#define NFC_IRQ 26
#define PWR_HOLD 4
#define PWR_BTN 9

View File

@@ -9,7 +9,7 @@ void initRfid()
printlnI(F("rfid init")); //shows in serial that it is ready to read
//int8_t sck=-1, int8_t miso=-1, int8_t mosi=-1, int8_t ss=-1);
ConfigManager_HWInit(NFC_SCK, NFC_MISO, NFC_MOSI, NFC_SS);
ConfigManager_HWInit(NFC_SCK, NFC_MISO, NFC_MOSI, NFC_SS, NFC_IRQ);
printlnI(F("rfid init done")); //shows in serial that it is ready to read
}