RFID library files and compilers

C programming, build, interpreter/VM.
Target audience: MicroPython Developers.
Post Reply
Jackli
Posts: 80
Joined: Thu Apr 29, 2021 9:11 am

RFID library files and compilers

Post by Jackli » Mon Aug 09, 2021 3:15 am

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.

JennaSys
Posts: 33
Joined: Tue Jul 15, 2014 8:29 am
Location: Southern California, US
Contact:

Re: RFID library files and compilers

Post by JennaSys » Mon Aug 09, 2021 8:50 am

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

Jackli
Posts: 80
Joined: Thu Apr 29, 2021 9:11 am

Re: RFID library files and compilers

Post by Jackli » Wed Aug 11, 2021 3:45 am

JennaSys wrote:
Mon Aug 09, 2021 8:50 am
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?
I want to use the library of MFRC522, as well as I use micropython language.

JennaSys
Posts: 33
Joined: Tue Jul 15, 2014 8:29 am
Location: Southern California, US
Contact:

Re: RFID library files and compilers

Post by JennaSys » Wed Aug 11, 2021 9:13 pm

library of MFRC522
This isn't really specific enough to give you much help tbh.

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

Jackli
Posts: 80
Joined: Thu Apr 29, 2021 9:11 am

Re: RFID library files and compilers

Post by Jackli » Tue Aug 17, 2021 8:00 am

Ok, thank you, I will try it.

Post Reply