Skip to content
Snippets Groups Projects
Commit 4de89eaa authored by pi-coocking's avatar pi-coocking
Browse files

add python code

parent 206093ab
No related branches found
No related tags found
No related merge requests found
#!/usr/bin/env python
import RPi.GPIO as GPIO
from mfrc522 import SimpleMFRC522
reader = SimpleMFRC522()
try:
id = reader.read()
print(id)
finally:
GPIO.cleanup()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment