adafruit / Adafruit-PN532

Arduino library for SPI and I2C access to the PN532 RFID/Near Field Communication chip
Other
422 stars 266 forks source link

bool isready() function can be public? #105

Open AlessioSavelli opened 1 year ago

AlessioSavelli commented 1 year ago

Hi, is possible to have the 'bool isready();' function as public and not private ? Is useful to make something without blocking the program in Tag reading

Thanks you.

caternuson commented 1 year ago

The isready() method (typically used via waitready()) is used with other private methods, like readdata() and writecommand() as part of full data exchange.

This sounds like a general request for async, non-blocking reads?

AlessioSavelli commented 1 year ago

Yes, i need to make my custom a async reads 😅😅.

Il giorno lun 20 feb 2023 alle 22:08 Carter Nelson @.***> ha scritto:

The isready() method (typically used via waitready()) is used with other private methods, like readdata() and writecommand() as part of full data exchange.

This sounds like a general request for async, non-blocking reads?

— Reply to this email directly, view it on GitHub https://github.com/adafruit/Adafruit-PN532/issues/105#issuecomment-1437545032, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVZDWS43X7GS6KDXERQNQALWYPMMRANCNFSM6AAAAAAS26EXZU . You are receiving this because you authored the thread.Message ID: @.***>