-
Shop
Mounting Kits
-
Learn
Electronics Toolbox
- Binary / Decimal / Hexadecimal Converter
- Resistor Colour Codes
- Ohm's Law Calculator
- ADC Pi Input Voltage Calculator
- Series Resistor Calculator
- Parallel Resistor Calculator
- Voltage Divider Calculator
- LED Series Resistor Calculator
- Series Capacitance Calculator
- Parallel Capacitance Calculator
- More Tools ...
- Support Forum
- Shipping
- Contact
- Home
- Help and Support
- Support Forum
- IO Pi and IO Pi Plus
- OSError: [Errno 121] Remote I/O error
OSError: [Errno 121] Remote I/O error
590 Views - Created 08/09/2022
08/09/2022
Posted by:
kiranmai1268
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
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.
Formatting your Forum Post
This forum uses BBCode, short for Bulletin Board Code, which is a lightweight markup language used primarily in online forums and message boards to format and structure posts. It provides a simple way for users to add formatting and styling to their text without requiring knowledge of HTML or other complex programming languages. With BBCode, users can enhance their messages by applying formatting tags such as bold or italic. Additionally, BBCode allows users to insert images, create clickable links, quote other users, and more.
Type | Syntax | Purpose |
---|---|---|
Bold | [b]{text}[/b] | Makes {text} bold |
Italic | [i]{text}[/i] | Makes {text} italic |
Quote | [quote]{text}[/quote] | Creates a quotation box saying {text} |
Image | [img]{url}[/img] | Shows the image indicated by {url} |
Link | [url]{url}[/url] | Makes a link to {url} |