pimylifeup / MFRC522-python

Library utilized for Pi My Life Up's guide on setting up an RFID RC522 reader.
https://pimylifeup.com/raspberry-pi-rfid-rc522/
GNU Lesser General Public License v3.0
193 stars 170 forks source link

Closing the SPI and GPIO #13

Open ogroef opened 5 years ago

ogroef commented 5 years ago

Hi

From the "MFRC522.py"-file I can see the "Close_MFRC522"-method. Could you extend your example on how to call this method.

When I use your !!VERY GOOD!! files in my project I am unable to call this method. I would like to use this method in order to "nicely" close the SPI and GPIO.

PS: It is not an issue, it is rather a question on how to this.

Kind Regards Olivier