These functions can split an int data type into the high and low bytes to send and reassemble the int at the other end.
https://www.arduino.cc/en/Reference/LowByte
https://www.arduino.cc/en/Reference/HighByte
and this post may be of interest.
These functions can split an int data type into the high and low bytes to send and reassemble the int at the other end.
https://www.arduino.cc/en/Reference/LowByte
https://www.arduino.cc/en/Reference/HighByte
and this post may be of interest.