I'm trying to connect the openMV to an Atmega 328 using I2C. Every time I try to send, I get an ETIMEDOUT error.
Does that mean that the openMV didn't receive an ACK?
Code: Select all
i2c = I2C(2) # The i2c bus must always be 2. i2c.init(I2C.MASTER, baudrate=400000) # init as a master time.sleep(2000) print("begin") while(True): print("scanning") #slaves = i2c.scan() #print(slaves) i2c.send('1',0x0A) time.sleep(5000)
And, made sure that the proper SDA and SCL are connected