Hi, thank you very much for the driver! It is very useful piece of code. I am currently using it in the process of developing attendance system with a lcd and some buttons. However the read time is quite long and since I need to be able to check for user input (I am using several buttons with resistors on ADO input because all the other GPIO are blocked by spi (mfrc522 board) and i2c (1306 oled) busses) so the time the user has to keep pressing the button is almost one second. That is way too much for smooth user interaction.
But I have ran into interesting feature the mfrc522 has - it can use IRQ pin and be a source of interrupts. I have found that to activate the IRQ functionality it is necessary to write into ComIEnReg and DivIEnReg. However I don't understand the documentation of the mfrc522 enough to know what to do.
Would it be possible ti add this functionality to the driver? Apparently there is arduino library which can controll the board and use interrupts, but my knowledge of the mfrc522 is so limited, that i wasn't able to modify your driver.
Here are the links for the arduino library which has this functionality:https://github.com/miguelbalboa/rfid/bl ... errupt.inohttps://github.com/miguelbalboa/rfid/bl ... /MFRC522.h
At least pointing me to right direction would be a great help.
Thank you for any help!