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