diff --git a/Read.py b/Read.py index c90e213..964cd47 100644 --- a/Read.py +++ b/Read.py @@ -20,6 +20,10 @@ signal.signal(signal.SIGINT, end_read) # Create an object of the class MFRC522 MIFAREReader = MFRC522.MFRC522() +# Welcome message +print "Welcome to the MFRC522 data read example" +print "Press Ctrl-C to stop." + # This loop keeps checking for chips. If one is near it will get the UID and authenticate while continue_reading: @@ -55,5 +59,3 @@ while continue_reading: else: print "Authentication error" - # Make sure to stop scanning for cards - continue_reading = False