changed motors

This commit is contained in:
shrkey
2016-02-29 21:25:35 +00:00
parent 8e9461e4f8
commit fd007c06b8

View File

@@ -172,12 +172,12 @@ print("Attaching Motors")
dw = dw_MotorCONTROL( addr=0x60 ) dw = dw_MotorCONTROL( addr=0x60 )
# Swap for different address if also using scrollphat # Swap for different address if also using scrollphat
#dw = dw_MotorCONTROL( addr=0x61 ) #dw = dw_MotorCONTROL( addr=0x61 )
mleft = dw.getMotor(2) mleft = dw.getMotor(1)
mright = dw.getMotor(1) mright = dw.getMotor(2)
mvert = dw.getMotor(3) mvert = dw.getMotor(3)
mmleft = dw.getMotor(5) mmleft = dw.getMotor(4)
mmright = dw.getMotor(4) mmright = dw.getMotor(5)
mmvert = dw.getMotor(6) mmvert = dw.getMotor(6)
controllerlist = [] controllerlist = []