BrickPi.Movement.Vehicule.TrunRightTime C# (CSharp) Method

TrunRightTime() public method

Turn the vehicule right for a number of milliseconds
public TrunRightTime ( int speed, int timeout ) : void
speed int speed is between -255 and +255
timeout int number of milliseconds to run the motors
return void
        public void TrunRightTime(int speed, int timeout)
        {
            RunMotorSyncTime(new BrickPortMotor[2] { portleft, portright }, new int[2] { speed * correctedDir, -speed * correctedDir }, timeout).Wait();
        }