Hi. Thank you for your question and reaching out. I’d be more than happy to help you with your query
Download and install the MFRC522 library.
Go to File->Examples->MFRC522->ReadAndWrite.
File->Save Target As... You can save a duplicate that you can change.
Delete the reading sections you don't wish to read.
To write what you want, change the elements that do the writing.
If the reply was helpful, please don’t forget to upvote or accept as answer, thank you.