#include <SPI.h> #include <MFRC522.h>
To make your microcontroller interact with the virtual library, you need standard firmware. The official MFRC522 library by Miguel Balboa works perfectly with the Proteus simulation. Sample Code: Reading Card UID rc522 proteus library top