I recently intended to make a smart access control project using Stone TFT LCD, ESP32, and MFRC522.
I am using the THONNY compiler, but I found that it reports errors when adding RFID library files, which prevents me from importing RFID library files.
RFID library files and compilers
Re: RFID library files and compilers
Thonny doesn't really compile anything. What RFID library files are you trying to use? Are they pure Python or do they have C dependencies?
John Sheehan
Re: RFID library files and compilers
This isn't really specific enough to give you much help tbh.library of MFRC522
Maybe have a look at this post and see if it helps:
viewtopic.php?t=1980
Someone created a driver for the MFRC522 but it doesn't look like it has any recent activity so it might not be maintained and doesn't look like it's available from PyPI so you'll have to manually copy over the necessary files.
John Sheehan
Re: RFID library files and compilers
Ok, thank you, I will try it.