-
Notifications
You must be signed in to change notification settings - Fork 418
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when running the python Code to read RFID tag #82
Comments
Hi! I suppose the problem is that the code doesn't want to read a card at all, I think I have a solution for that:
then go back a directory, create a new one, and in there, create a file, for example Read.py, and in it, paste this code: `from time import sleep try: |
Welcome to the MFRC522 data read example
Press Ctrl-C to stop.
Traceback (most recent call last):
File "Read.py", line 51, in
(status, TagType) = MIFAREReader.MFRC522_Request(MIFAREReader.PICC_REQIDL)
File "/home/pi/MFRC522.py", line 243, in MFRC522_Request
(status, backData, backBits) = self.MFRC522_ToCard(self.PCD_TRANSCEIVE, TagType)
TypeError: 'NoneType' object is not iterable
Could anyone please help in this matter? I am finding it troublesome and so would be glad if someone could sort this issue.
Thanks and Regards
The text was updated successfully, but these errors were encountered: