private void SelectedGroupChanged(object sender, SelectionChangedEventArgs e) { PhidgetsServoBoard board = Interface as PhidgetsServoBoard; PhidgetsServo servo = board.Servos[MotorListBox.SelectedIndex]; CalibrationEditor.Calibration = servo.Calibration; SelectedServo = servo; }
public PhidgetsServoBoard() : base("Phidget Servo Board") { for (int i = 0; i < 8; i++) { PhidgetsServo servo = new PhidgetsServo(this, i); _servos[i] = servo; } _servoCount = 0; }