-
Notifications
You must be signed in to change notification settings - Fork 420
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
problem with the Write.py script. #68
Comments
Same problem here. Doing it on a Raspberry pi 3 b+ with raspbian stretch. |
Same problem with python 2.7.13 on Raspbian 9. |
Me too having the same issue when Read.py is initialised |
@BombayCoast @te-ti @sandeeppusthey Instead of going in and fixing the function call, I found it much easier to use pi-rc522. Works no problem with Python 2.7, and I have tested it using the MFRC522 chip. Cheers! |
Same problem with write.py on Raspberry Pi 3 Model B with python 3.5.3 |
Check my comment for issue #69 for a fix.. |
When trying to run the Write.py script, I get the following error:
Traceback (most recent call last):
File "Write.py", line 6, in <module>
reader = SimpleMFRC522.SimpleMFRC52
2()File "/home/pi/MFRC522-python/SimpleMFRC522.py", line 14, in __init__
self.READER = MFRC522.MFRC522()
File "/home/pi/MFRC522-python/MFRC522.py", line 117, in __init__
self.MFRC522_Init()
File "/home/pi/MFRC522-python/MFRC522.py", line 390, in MFRC522_Init
self.MFRC522_Reset();
File "/home/pi/MFRC522-python/MFRC522.py", line 120, in MFRC522_Reset
self.Write_MFRC522(self.CommandReg, self.PCD_RESETPHASE)
File "/home/pi/MFRC522-python/MFRC522.py", line 123, in Write_MFRC522
spi.transfer(((addr<<1)&0x7E,val))
TypeError: function takes exactly 2 arguments (1 given)
Using Raspbian Stretch on a Pi 3.
The text was updated successfully, but these errors were encountered: