/// <summary> /// Allows fine tuning of servo or sets it to requested angle /// </summary> /// <param name="angle">Requested angle</param> public async void SetAngle(int angle) { servo.RotateTo(new Angle(angle + 90)); await Task.Delay(500); servo.Stop(); }
public void Stop() { _servo.Stop(); }