Hi! I'm having same problems with this:
sendWholeMsg = (byte)msgindex;
sendWholeMsg = (byte)msgindex >> 8;
sendWholeMsg = (byte)msgindex >> 16;
sendWholeMsg = (byte)msgindex >> 24;
The error when I compile is as stated below:
Cannot implicitly convert type 'int' to 'byte'. An explicit conversion exists (are you missing a cast?)
I don't understand the error here, is there anything wrong with my codes?