update rfid
This commit is contained in:
Submodule FW/leo_muziekdoos_esp32/lib/rfid_C95HF updated: fbb34c82e4...2745677ab7
@@ -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
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user