05-25-2013 05:47 PM
If you shift a byte by 8 places, you have nothing left. If you unflatten your two-byte string to a 16 bit integer, everything is already in place.
05-25-2013 05:51 PM
Ok that sounds much better. Thanks for help.
05-25-2013 05:55 PM
Typically you would make sure that the code actually works and then mark the most helpful post as solution (not you own thank you post!)