Skip to content

Commit

Permalink
add cleanup method
Browse files Browse the repository at this point in the history
  • Loading branch information
pantheraleo-7 committed Dec 14, 2024
1 parent 52d5a69 commit 4835813
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mfrc522/SimpleMFRC522.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,3 +88,7 @@ def uid_to_num(self, uid):
for i in range(0, 5):
n = n * 256 + uid[i]
return n

@staticmethod
def cleanup():
GPIO.cleanup()

0 comments on commit 4835813

Please # to comment.