Let's put it all together. You want to simulate a door lock system with three virtual users.
How to Add Arduino UNO Library to Proteus | Step-by-Step Guide rc522 proteus library
void loop() if (mfrc522.PICC_IsNewCardPresent() && mfrc522.PICC_ReadCardSerial()) Serial.print("Tag UID: "); for (byte i = 0; i < mfrc522.uid.size; i++) Serial.print(mfrc522.uid.uidByte[i] < 0x10 ? " 0" : " "); Serial.print(mfrc522.uid.uidByte[i], HEX); RC522 Proteus Library: A Comprehensive Guide
: In the ISIS schematic capture, click the 'P' (Pick Device) button and type "RC522" or "MFRC522" to select the new module. Hardware Simulation Setup Let's put it all together
Library folder within the zip.RFID-RC522.LIB and RFID-RC522.IDX.LIBRARY installation folder.