Create Read.py

This commit is contained in:
Izaac 2017-06-14 09:37:45 -05:00 committed by GitHub
parent 8ddc994007
commit cce2716bab

View file

@ -41,7 +41,7 @@ while continue_reading:
if status == MIFAREReader.MI_OK:
# 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
key = [0xFF,0xFF,0xFF,0xFF,0xFF,0xFF]