Last active
April 30, 2022 09:19
-
-
Save rlatn1234/3c8d3cc1f1ebb8dc931e91c7e9531341 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import RPi.GPIO as GPIO | |
from mfrc522 import SimpleMFRC522 | |
reader = SimpleMFRC522() | |
try: | |
text = input('New Data: ') | |
print("Now place your tag to write") | |
reader.write(text) | |
print("Written") | |
finally: | |
GPIO.cleanup() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment