From 710b1a7f7985e3a361551d8fe7a760cf6c069559 Mon Sep 17 00:00:00 2001 From: Christophe Robillard Date: Tue, 23 Dec 2025 18:48:06 +0100 Subject: [PATCH] show details of card reader in debug --- the-cup.ino | 3 +++ 1 file changed, 3 insertions(+) diff --git a/the-cup.ino b/the-cup.ino index 323e4d9..89ad5cf 100644 --- a/the-cup.ino +++ b/the-cup.ino @@ -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() {