Hi friends, I was trying string format i2c data communication between master and two slave devices. It will be like I'm going to send 10,5,5000 from my master device & my slave1 will read 10 & 5000 and save it in two separate variables. Similarly, my slave 2 device will read 5 & 5000 and save those two in two separate variables. I tried but failed to solve it as i2c communicates only in byte format I found. Please guide me on how to solve it.
So the issue you are having is that you want to send values "10", "5", "5000" as strings over an I2C connection to 2 slave devices but can only send them as bytes?
If so, see here
Another thread that talks about converting strings to bytes. This will allow you to send info over the connection