diff --git a/script/local.py b/script/local.py index a59ff90..3e2d60d 100644 --- a/script/local.py +++ b/script/local.py @@ -47,7 +47,7 @@ class RobotModbus(DeviceBase): for arg in argv: args[index] = arg index = index + 1 - robot_args.write(args) + robot_args.write(to_array(args, 'i')) robot_req.write(1) try: self.request()