From e098cdc2a8e058dccfeb00dbc984618c767ccf1b Mon Sep 17 00:00:00 2001 From: Mihail Atanassov Date: Sun, 14 Nov 2021 15:21:29 +0100 Subject: [PATCH] Adjust imports Avoids NameError: name 'GPIO' is not defined and RuntimeWarning: This channel is already in use, continuing anyway. Use GPIO.setwarnings(False) to disable warnings. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f61de92..65b37b5 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ The following code will read a tag from the MFRC522 ```python from time import sleep -import sys +import RPi.GPIO as GPIO from mfrc522 import SimpleMFRC522 reader = SimpleMFRC522()