Skip to content

Commit 9d21693

Browse files
add cleanup method
1 parent 52d5a69 commit 9d21693

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

mfrc522/SimpleMFRC522.py

+3
Original file line numberDiff line numberDiff line change
@@ -88,3 +88,6 @@ def uid_to_num(self, uid):
8888
for i in range(0, 5):
8989
n = n * 256 + uid[i]
9090
return n
91+
92+
def cleanup(self):
93+
GPIO.cleanup()

0 commit comments

Comments
 (0)