diff --git a/platypush/plugins/gpio/zeroborg/__init__.py b/platypush/plugins/gpio/zeroborg/__init__.py index 5c26cf1a2a..dad4b588e1 100644 --- a/platypush/plugins/gpio/zeroborg/__init__.py +++ b/platypush/plugins/gpio/zeroborg/__init__.py @@ -81,7 +81,7 @@ class GpioZeroborgPlugin(Plugin): distance = self.get_distance() print(distance) - if distance > 200.0: # distance in mm + if distance > 250.0: # distance in mm self._direction = Direction.DIR_UP.value else: self._direction = Direction.DIR_LEFT.value