Closed AndiCui closed 7 years ago
I tried and succeeded. Will probably open a PR soon ;)
Not sure of the root cause of https://github.com/mxgxw/MFRC522-python/issues/21 yet, but I had the same problem (reader stops registering new cards after some time). Leaving a card on the reader over night (2 second reading interval) resulted in continuous reads throughout. Next test is seeing if cards still register after a prolonged period of no activity.
Nice, the driver seems to work robustly with spidev. A couple hours of inactivity did not result in an unresponsive device anymore.
It’s maybe good to use SPIDEV instead of SPI-Py. See https://github.com/mxgxw/MFRC522-python/issues/31 As long as I am aware of (I am not a pro), SpiDev is more popular than SPI-Py. It doesn’t make much sense in my setup to run two different SPI lib, since it may cause compatibility issues.