From 789293dafe5e4b4244c406f266337e2b4863e7be Mon Sep 17 00:00:00 2001 From: Peter Hinch Date: Sat, 27 Apr 2019 06:32:37 +0100 Subject: [PATCH] Fix gyro scaling. Temperature is signed byte. --- adafruit_bno055.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/adafruit_bno055.py b/adafruit_bno055.py index a32e9fe..97af7a8 100644 --- a/adafruit_bno055.py +++ b/adafruit_bno055.py @@ -91,7 +91,7 @@ class BNO055: Driver for the BNO055 9DOF IMU sensor. """ - temperature = _ReadOnlyUnaryStruct(0x34, 'B') + temperature = _ReadOnlyUnaryStruct(0x34, 'b') """Measures the temperature of the chip in degrees Celsius.""" accelerometer = _ScaledReadOnlyStruct(0x08, '