ondryaso / pi-rc522

Raspberry Pi Python library for SPI RFID RC522 module
MIT License
411 stars 150 forks source link

continous reading fails after 16-20 reads #55

Closed gusman80 closed 5 years ago

gusman80 commented 5 years ago

Hi, great rc522 lib, thanks for this contribution! (CPU usage is low and reading works fine...on raspberry) my goal is to call a function on tag detection and another on tag removal. tag detection works fine... but now i leave the rfid tag on the reader after every 16-20 reads (rdr.request()) returns No Card detected (None/False) and resumes reading the tag fine afterwards ... problem is, this error makes me think the tag was removed... wrongly :(

am i using the wrong function? or do i need to throttle down reading?

thx gus

gusman80 commented 5 years ago

found a solution using timings and fallbacks..