Disclaimer: Always verify the legality of third-party libraries. Use original Labcenter Electronics software with community-contributed models.
#include <SPI.h> #include <MFRC522.h>
void setup() Serial.begin(9600); SPI.begin(); mfrc522.PCD_Init(); Serial.println("Scan a virtual card..."); rc522 proteus library
Once the library is installed, you need to wire the module correctly. The RC522 uses SPI pins. void setup() Serial.begin(9600)