Peripheral myMotor As MR2x5 @ 0 ' Set the module ID as 0 Sub Main() Debug CLS myMotor.ForwardDual(200) ' Let the two motors rotate forwards at the same time Pause 3000 myMotor.StopDual() ' Stop the two motors Pause 3000 myMotor.BackwardDual(200) ' Let the two motors rotate backwards at the same time Pause 3000 myMotor.SetDirDual(0) ' Reverse the rotation direction of the two motors to the forward direction Pause 3000 myMotor.SetDCDual(150) ' Change the rotation speed of the motors To 150 Pause 3000 myMotor.BrakeDual() ' Stop the two motors rapidly Pause 3000 End Sub