public Sweeper(ArduinoController.ArduinoValues ArduinoValue,
                           ref CheckBox SweepPositive,
                           ref CheckBox SweepNegative,
                           ref ArduinoController controller,
                           int SweepAngle)
            {
                _arduinoValue = ArduinoValue;
                _positive     = SweepPositive;
                _negative     = SweepNegative;
                _controller   = controller;
                _window       = (MainWindow)Application.Current.MainWindow;
                Timer         = new System.Timers.Timer(Config.SweepDelay);
                Angle         = SweepAngle;

                SetSweepers();
            }
 private void RightYAxis_ValueChanged(object sender, RoutedPropertyChangedEventArgs <double> e)
 {
     Controller.UpdateValue(ArduinoController.ArduinoValues.GimbalPitch, ArduinoController.MapAxisToServo(_selectedController.RightThumbStick.Y));
 }