From 4f9dcfd9c4ac873c29527884e85b75d4cd42413a Mon Sep 17 00:00:00 2001 From: Nicolas Schodet Date: Mon, 10 May 2010 08:42:25 +0200 Subject: digital/io: use the clamp command --- digital/io/tools/test_simu_control.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'digital/io/tools') diff --git a/digital/io/tools/test_simu_control.py b/digital/io/tools/test_simu_control.py index 64c856aa..7145ed1a 100644 --- a/digital/io/tools/test_simu_control.py +++ b/digital/io/tools/test_simu_control.py @@ -62,11 +62,11 @@ class TestSimuControl (TestSimu): def clamp_command (self): if self.clamp_var.get (): - pos = 1720 + self.mimot.clamp ('a0', 0x60, 0x100) + self.mimot.clamp ('a1', 0x60, 0x100) else: - pos = 0 - self.mimot.goto_pos ('a0', pos) - self.mimot.goto_pos ('a1', pos) + self.mimot.goto_pos ('a0', 0) + self.mimot.goto_pos ('a1', 0) def elevator_command (self): if self.elevator_var.get (): -- cgit v1.2.3