diff --git a/pylgbst/peripherals.py b/pylgbst/peripherals.py index 40f7006..658f54e 100644 --- a/pylgbst/peripherals.py +++ b/pylgbst/peripherals.py @@ -283,22 +283,22 @@ class TiltSensor(Peripheral): def handle_port_data(self, data): if self._port_subscription_mode == self.MODE_3AXIS_SIMPLE: - state = data[4] + state = unpack("