Esempio n. 1
0
 public override void Save()
 {
     ArduinoData.port                = comPortField.text;
     ArduinoData.leftServoPin        = leftServoField.text;
     ArduinoData.rightServoPin       = rightServoField.text;
     ArduinoData.servoPowerPin       = servoPowerField.text;
     ArduinoData.encoderInterruptPin = encoderInterruptField.text;
     ArduinoData.encoderSecondaryPin = encoderSecondaryField.text;
     ArduinoData.irSensorPin         = iRSensorField.text;
     ArduinoData.solenoidPin         = solenoidField.text;
     base.Save();
     leftServo.SetPin(ArduinoData.leftServoPin);
 }