Support Forum

Share your projects and post your questions

Register   or   Sign In
The Forum

OSError: [Errno 121] Remote I/O error

2347 Views - Created 08/09/2022

08/09/2022

Posted by:
kiranmai1268

kiranmai1268 Avatar

Hello there,

I am approaching you regarding the I2C connectivity between RPI4 and pico

when I am trying to run the code in RPI4 an error raised:


Traceback (most recent call last):  File "/home/pi/Desktop/i2ctest.py", line 5, in <module>    bus.write_byte(0x41,12)  OSError: [Errno 121] Remote I/O errorand this is the code I used in RPi import smbus#import timebus=smbus.SMBus(1)#time.sleep(1)bus.write_byte(0x41,12)bus.write_byte(0x41,15)I got another code in pico as well.


It would be so great if anyone help me with that.

Thanks

08/09/2022

Posted by:
andrew

andrew Avatar

Location:
United Kingdom

andrew Twitter  andrew Website  

Hello

I do not have much experience using I2C on the pico. It may be worth posting your message on the official raspberry pi forum at https://forums.raspberrypi.com/viewforum.php?f=144

Sign in to post your reply

Note: documents in Portable Document Format (PDF) require Adobe Acrobat Reader 5.0 or higher to view, download Adobe Acrobat Reader or other PDF reading software for your computer or mobile device.