From f2543ffbff6b7f1ae0626d33c943212f156d0c39 Mon Sep 17 00:00:00 2001 From: Eyuep Sueyruege Date: Sun, 12 Nov 2023 17:37:35 +0100 Subject: [PATCH] Update src/arduino/card_scanner.ino --- src/arduino/card_scanner.ino | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/arduino/card_scanner.ino b/src/arduino/card_scanner.ino index e8fbe38..ddbe7a2 100644 --- a/src/arduino/card_scanner.ino +++ b/src/arduino/card_scanner.ino @@ -32,7 +32,7 @@ void setup() { // iteration void loop() { - // Reset the loop if no new card present on the sensor/reader. This saves the entire process when idle. + // Reset the loop if no new card present on the reader if (!rfid.PICC_IsNewCardPresent()){ return; } @@ -41,6 +41,7 @@ void loop() { return; } + // Send UID of token to the serialport Serial.println(rfid.uid)