i want to send two integer values at a time from master to slave while using I2C communication.
i am sending 'revo' & 'count' from master to slave.
i have used:
but i m receiving both numbers assign to single variable.
i actual i need revo as a variable and count as a another variable.
so what can do for that??
You could receive the first one, copy it to another variable then receive the second one, but how will you know which is which ?
You would be better sending an array of two ints