gassajor000 / pn532pi

Python interface for ndef communication using PN532 chip on raspberry pi
36 stars 18 forks source link

Fix for OSError: [Errno 121] Remote I/O error #11

Closed msp1974 closed 2 years ago

msp1974 commented 2 years ago

Adding a delay of 1 sec after establishing the i2c bus prevents this error. Seems you need to allow the i2c bus to establish before sending a command, otherwise you get this error. Tried reducing the delay time but 1 sec seems to be the right length. Tested on an RPi3.