我需要基本的帮助,我对raspberry pi和rfid新的,我想创建一个程序或脚本,可以读取一个卡片的所有数据库,并将它转储到一个文本文件。还有一个程序/脚本,允许我将数据库锁写到卡片上。
发布于 2015-12-21 14:35:10
import nxppy
import time
mifare = nxppy.Mifare()
try:
while True:
try:
uid= mifare.select()
print(uid)
except nxppy.SelectError:
pass
time.sleep(0.2)
except KeyboardInterrupt:
passhttps://stackoverflow.com/questions/34387619
复制相似问题