From df6790cde9563117a2b92cd49311031dd3ef200f Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Fri, 2 Mar 2018 14:37:14 +0100 Subject: [PATCH] Changed default distance --- platypush/plugins/gpio/zeroborg/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platypush/plugins/gpio/zeroborg/__init__.py b/platypush/plugins/gpio/zeroborg/__init__.py index 5c26cf1a2..dad4b588e 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