From f700ab1d98ddb9b169939ee802d86c434cd8c67c Mon Sep 17 00:00:00 2001 From: deeepuuu <106612001+deeepuuu@users.noreply.github.com> Date: Wed, 15 May 2024 14:09:14 +0530 Subject: [PATCH] Update Bharat_Pi_RFID_and_Thingspeak.ino --- .../Bharat_Pi_RFID_and_Thingspeak.ino | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Bharat_Pi_RFID_and_Thingspeak/Bharat_Pi_RFID_and_Thingspeak.ino b/Bharat_Pi_RFID_and_Thingspeak/Bharat_Pi_RFID_and_Thingspeak.ino index 59d5bf4..11d28fe 100644 --- a/Bharat_Pi_RFID_and_Thingspeak/Bharat_Pi_RFID_and_Thingspeak.ino +++ b/Bharat_Pi_RFID_and_Thingspeak/Bharat_Pi_RFID_and_Thingspeak.ino @@ -1,4 +1,6 @@ /********************************************************************************** +project: Using RFId +Owner: Bharat Pi RFID Module pin connection SDA (SS) -> GPIO21 SCK -> GPIO 18 @@ -20,13 +22,13 @@ MFRC522 mfrc522(SS_PIN, RST_PIN); // Create MFRC522 instance. // Valid UIDs and corresponding student names byte validUIDs[][4] = { - {0xA3, 0x57, 0xB3, 0x30}, // UID of student 1 - {0x53, 0x15, 0x57, 0xC8}, // UID of student 2 + {0xA3, 0x57, 0xB3, 0x30}, // UID of card 1 + {0x53, 0x15, 0x57, 0xC8}, // UID of card 2 // Add more valid UIDs here }; const char* studentNames[] = { - "Bharatpi", // Name of student 1 - "Welcome", // Name of student 2 + "Bharatpi", // Name of card 1 + "Welcome", // Name of card 2 // Add more student names here };