Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import RPi.GPIO as GPIO
- from mfrc522 import SimpleMFRC522
- reader = SimpleMFRC522()
- print("Looking for cards")
- try:
- id, text = reader.read()
- print(id)
- print(text)
- finally:
- GPIO.cleanup()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement