Commit 7ed2b888 authored by Jakob Moser's avatar Jakob Moser
Browse files

Add basic script to read tag using `mfrc522` PyPI library

parent 78b59620
Loading
Loading
Loading
Loading

read.py

0 → 100755
+10 −0
Original line number Diff line number Diff line
#!/usr/bin/env python
import RPi.GPIO as GPIO
from mfrc522 import SimpleMFRC522

reader = SimpleMFRC522()

try:
    print(reader.read())
finally:
    GPIO.cleanup()
+1 −0
Original line number Diff line number Diff line
babel~=2.17.0
mfrc522~=0.0.7
SQLAlchemy~=2.0.38