Do action until specific time in C# [closed]

    _cc.Turn = 50; //the C motor will start running in 50% speed

    _cc.LeftSpeed = 0; //the B motor will stop working
    _cc.RightSpeed = 0; //the A motor will stop working

    _cc.MoveCar();

    System.Threading.Thread.Current.Sleep(1000);

Leave a Comment