Create MFRC522.py
This commit is contained in:
parent
6293fa9658
commit
ff6eb4ff38
1 changed files with 1 additions and 1 deletions
|
@ -353,7 +353,7 @@ class MFRC522:
|
||||||
if not(status == self.MI_OK) or not(backLen == 4) or not((backData[0] & 0x0F) == 0x0A):
|
if not(status == self.MI_OK) or not(backLen == 4) or not((backData[0] & 0x0F) == 0x0A):
|
||||||
status = self.MI_ERR
|
status = self.MI_ERR
|
||||||
|
|
||||||
print str(backLen)+" backdata &0x0F == 0x0A "+str(backData[0]&0x0F)
|
print "%s backdata &0x0F == 0x0A %s" % (backLen, backData[0]&0x0F)
|
||||||
if status == self.MI_OK:
|
if status == self.MI_OK:
|
||||||
i = 0
|
i = 0
|
||||||
buf = []
|
buf = []
|
||||||
|
|
Loading…
Reference in a new issue