def write_uid(uid): f = open(UID_FILE,'w') print("Write UID : %s"%str(uid)) uid = f.write(str(uid)) f.close NFC.stop()
def stop(uid): NFC.stop()