From fd007c06b8079211917787c4d012ed07a9da1c31 Mon Sep 17 00:00:00 2001 From: shrkey Date: Mon, 29 Feb 2016 21:25:35 +0000 Subject: [PATCH] changed motors --- microrov.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/microrov.py b/microrov.py index d9970cb..da1772f 100644 --- a/microrov.py +++ b/microrov.py @@ -172,12 +172,12 @@ print("Attaching Motors") dw = dw_MotorCONTROL( addr=0x60 ) # Swap for different address if also using scrollphat #dw = dw_MotorCONTROL( addr=0x61 ) -mleft = dw.getMotor(2) -mright = dw.getMotor(1) +mleft = dw.getMotor(1) +mright = dw.getMotor(2) mvert = dw.getMotor(3) -mmleft = dw.getMotor(5) -mmright = dw.getMotor(4) +mmleft = dw.getMotor(4) +mmright = dw.getMotor(5) mmvert = dw.getMotor(6) controllerlist = []