diff --git a/read.py b/read.py index 7ae2d39..0212ecd 100644 --- a/read.py +++ b/read.py @@ -3,9 +3,6 @@ #!/usr/bin/env python import RPi.GPIO as GPIO import MFRC522 -import signal -import time -import sys # Keys DEFAULT_KEY = [0xFF,0xFF,0xFF,0xFF,0xFF,0xFF] @@ -24,6 +21,9 @@ def uid_to_num(uid): RFID = MFRC522.MFRC522() +print "# RFID Reader\n" +print "Info: Leave the sector field empty to exit.\n" + # Get tag size if available (status, TagSize) = RFID.Request(RFID.PICC_REQIDL) diff --git a/wipe.py b/wipe.py index 3e635c4..9ce6209 100644 --- a/wipe.py +++ b/wipe.py @@ -3,7 +3,6 @@ #!/usr/bin/env python import RPi.GPIO as GPIO import MFRC522 -import signal # Keys DEFAULT_KEY = [0xFF,0xFF,0xFF,0xFF,0xFF,0xFF] @@ -19,6 +18,8 @@ def uid_to_num(uid): RFID = MFRC522.MFRC522() +print "# RFID Wipe\n" + print "Waiting for tag...\n" while True: diff --git a/write.py b/write.py index 01ca4ec..1afdbe2 100644 --- a/write.py +++ b/write.py @@ -3,9 +3,6 @@ #!/usr/bin/env python import RPi.GPIO as GPIO import MFRC522 -import signal -import time -import sys # Keys DEFAULT_KEY = [0xFF,0xFF,0xFF,0xFF,0xFF,0xFF] @@ -24,6 +21,9 @@ def uid_to_num(uid): RFID = MFRC522.MFRC522() +print "# RFID Writer\n" +print "Info: Leave the sector field empty to exit.\n" + # Get tag size if available (status, TagSize) = RFID.Request(RFID.PICC_REQIDL)