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 };