bricknil icon indicating copy to clipboard operation
bricknil copied to clipboard

Treat all sensor values and signed integers

Open janvrany opened this issue 6 years ago • 0 comments

Based on @dlech's suggestion that in LEGO BT protocol all sensor values are signed. This commit changes Peripheral._convert_bytes() to treat values as signed (as opposed to unsigned).

This commit fixes issue #7.

janvrany avatar Jan 08 '20 21:01 janvrany