Create Read.py
This commit is contained in:
parent
8ddc994007
commit
cce2716bab
1 changed files with 1 additions and 1 deletions
2
Read.py
2
Read.py
|
@ -41,7 +41,7 @@ while continue_reading:
|
||||||
if status == MIFAREReader.MI_OK:
|
if status == MIFAREReader.MI_OK:
|
||||||
|
|
||||||
# Print UID
|
# Print UID
|
||||||
print "Card read UID: "+str(uid[0])+","+str(uid[1])+","+str(uid[2])+","+str(uid[3])
|
print "Card read UID: %s,%s,%s,%s" % (uid[0], uid[1], uid[2], uid[3])
|
||||||
|
|
||||||
# This is the default key for authentication
|
# This is the default key for authentication
|
||||||
key = [0xFF,0xFF,0xFF,0xFF,0xFF,0xFF]
|
key = [0xFF,0xFF,0xFF,0xFF,0xFF,0xFF]
|
||||||
|
|
Loading…
Reference in a new issue