Skip to content

Commit

Permalink
Merge pull request #49 from russmac/master
Browse files Browse the repository at this point in the history
Register reference fix for GYR_DATA_X_LSB
  • Loading branch information
ladyada committed May 12, 2020
2 parents ef2deb9 + 2cb1164 commit 3700bb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adafruit_bno055.py
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ def _magnetic(self):

@property
def _gyro(self):
resp = struct.unpack("<hhh", self._read_register(0x0E, 6))
resp = struct.unpack("<hhh", self._read_register(0x14, 6))
return tuple([x * 0.001090830782496456 for x in resp])

@property
Expand Down

0 comments on commit 3700bb5

Please sign in to comment.