Enhance HardwareRfid class with detailed logging and hardware verification; update main loop to log detected RFID tags

This commit is contained in:
2025-10-04 16:17:08 +02:00
parent c8b7882c2d
commit 7902518002
4 changed files with 67 additions and 12 deletions
+1
View File
@@ -14,6 +14,7 @@ unsigned long lastChange = 0;
int currentConfig = 0;
void onRfidTag(const hardware_SensorToControlMessage& msg) {
Serial.println("Callback onRfidTag triggered");
Serial.print("RFID Tag detected: 0x");
Serial.println(msg.payload.rfid_reading.card_id, HEX);
}