RC522 Write a Card Demo Code

It is very easy and common to read the RFID card ID, which is the first 4 bytes of the data area, and used to identify the card holder. But also a lot of people ask if the RC522 can write a RFID card or not, the answer is yes,...