public async Task ReturnToStart()
 {
     for (int i = 0; i < 3; i++)
     {
         await _uln2003Driver.TurnAsync(180, TurnDirection.Right);
     }
 }
        private async Task TurnMotor(int degree, TurnDirection direction, bool isStop = false)
        {
            foreach (var pin in GpioPins)
            {
                pin.Key.Dispose();
            }

            using (var uln2003Driver = new Uln2003Driver(controller, 26, 13, 6, 5))
            {
                // bug
                if (isStop)
                {
                    uln2003Driver.Stop();
                }
                else
                {
                    await uln2003Driver.TurnAsync(degree, direction, CancellationToken.None);
                }
            }

            InitAllGPIOPin();
        }