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

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.

Home

Shop

Learn

Forum

FAQ

Contact

0 item

Your cart is empty

Please browse our shop to order from the wide range of Raspberry Pi boards and accessories.

Subtotal:£0.00
View Basket Continue to Checkout