Sending a number greater than 256?
worthyamherst
Posts: 46
So i'm running into an issue in which i'm sending some sensor data wirelessly from stamp to stamp. The issue comes in when i have a numerical value greater than 256, the received/displayed data appears as said number - 256. Are there any solutions that anyone can offer? Example codes would be helpful
Comments
I tried to do that but it still was not reading the data properly. So i then tried to using liek the 00001111, and then a 11110000 in order to break it up but that did not work
On the receiving end, re-assemble the WORD. variable= (256*highbyte) + (lowbyte)