Skip to content

Treat all sensor values and signed integers#10

Open
janvrany wants to merge 1 commit into
virantha:masterfrom
janvrany:pr/issue-7-negative-tachomotor-position
Open

Treat all sensor values and signed integers#10
janvrany wants to merge 1 commit into
virantha:masterfrom
janvrany:pr/issue-7-negative-tachomotor-position

Conversation

@janvrany

@janvrany janvrany commented Jan 8, 2020

Copy link
Copy Markdown

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.

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant