Before connecting, please upload the following code to the Arduino UNO, "Examples - & gt; Wire - & gt; Slave_receiver
"Next, as shown in the following to connect, here we choose PA_26 as SDA pin, PA_25 as SCL.
By a line by line, please copy and paste the following code to the REPL, to observe the code effect,
From the machine import Pin, I2C
I2c=i2c (SCL="PA_25", sda="PA_26 freq=100000) # configure i2c with pins and freq. Of 100 KHZ
I2c. Scan ()
I2c. Writeto (8, 123) send # 1 byte to slave with 8 address
I2c. Readfrom (# 8, 6) receive 6 bytes from slave