12th Anniversary Sale 12% Off in July & August with the voucher code "SUMMER12" *excludes trade customers
Support Forum

Share your projects and post your questions

Register   or   Sign In
The Forum

OSError: [Errno 121] Remote I/O error message

The 1 Wire Pi Plus and 1 Wire Pi Zero are a 1 Wire interface for the Raspberry Pi

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 error




and this is the code I used in RPi

import smbus
#import time
bus=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 Raspberry Pi Forum.

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.