Enhance HardwareRfid class with detailed logging and hardware verification; update main loop to log detected RFID tags
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user