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 172 forks source link

Adjusted read_id for only reading id #2

Closed Niels-Post closed 6 years ago

Niels-Post commented 6 years ago

read_id now only reads the id, instead of trying to read the data as well. This prevents authentication errors on certain cards in cases where only the card id is required.

death-droid commented 6 years ago

Thank you for suggesting that fix. I have now merged it in to the main branch.