65535 is actually the correct value for -1. Integer's use two's complement to handle negative numbers. That is why integer values are listed as -32768 to 32767. There is still only 16 bits and it uses them differently when setting negative numbers. Dinner allows you too see he value as a signed integer. So the odds are your scaler is working perfectly correct.