show details of card reader in debug
This commit is contained in:
parent
eaeb9dcfe9
commit
710b1a7f79
1 changed files with 3 additions and 0 deletions
|
|
@ -79,6 +79,9 @@ void setup() {
|
|||
pinMode(RC522_POWER_PIN, OUTPUT);
|
||||
digitalWrite(RC522_POWER_PIN, HIGH);
|
||||
reader.PCD_Init(); // Init each MFRC522 card.
|
||||
#ifdef DEBUG
|
||||
MFRC522Debug::PCD_DumpVersionToSerial(reader, Serial); // Show details of PCD - MFRC522 Card Reader details.
|
||||
#endif
|
||||
}
|
||||
|
||||
void loop() {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue