Hi, I want to senda variable called data (int data = 500) using Wire.write(data), but this only sends one byte, so my master receives 249.
I know there is Wire.receive(array, count) in order to send more than one byte, but that solution must have the data separated into bytes inside an array.
Is there a way to send the value 500 and to receive it as 500?
Hi, I want to senda variable called data (int data = 500) using Wire.write(data), but this only sends one byte, so my master receives 249.
I know there is Wire.receive(array, count) in order to send more than one byte, but that solution must have the data separated into bytes inside an array.
Is there a way to send the value 500 and to receive it as 500?
Thanks for your help.