mirror of
https://github.com/brmlab/brmdoor.git
synced 2025-06-07 19:24:01 +02:00
Printing UIDs enabled by default in CARD message
This commit is contained in:
parent
e4b5fef2c2
commit
659ca38076
1 changed files with 2 additions and 1 deletions
|
@ -26,7 +26,7 @@ const int PN532_MISO = A0;
|
|||
|
||||
// Set to true if you want to have correct UID printed in hex after CARD
|
||||
// message into UART (case when card is known).
|
||||
bool printFullUID = false;
|
||||
bool printFullUID = true;
|
||||
|
||||
// Max retries to read card before timeout, 200 is around 1 second, 0xFF means
|
||||
// wait forever (constitutes blocking read).
|
||||
|
@ -287,6 +287,7 @@ void setup()
|
|||
digitalWrite(videoBtn, HIGH);
|
||||
comSerial.begin(9600);
|
||||
|
||||
nfc.begin();
|
||||
uint32_t versiondata = nfc.getFirmwareVersion();
|
||||
if (! versiondata) {
|
||||
comSerial.write("CARD READER BROKEN\n");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue