private bool ConnectDome() { SerialConnection = new ArduinoSerial(); SerialConnection.CommandQueueReady += new ArduinoSerial.CommandQueueReadyEventHandler(SerialConnection_CommandQueueReady); HC.WaitForMilliseconds(2000); return(true); }
private bool ConnectDome() { SerialConnection = new ArduinoSerial(); SerialConnection.CommandQueueReady += new ArduinoSerial.CommandQueueReadyEventHandler(SerialConnection_CommandQueueReady); HC.WaitForMilliseconds(2000); SerialConnection.SendCommand(ArduinoSerial.SerialCommand.SetPark, Config.ParkAzimuth); SerialConnection.SendCommand(ArduinoSerial.SerialCommand.SetHome, Config.HomeAzimuth); return(true); }
public bool ConnectFocuser() { SerialConnection = new ArduinoSerial(); SerialConnection.CommandQueueReady += new ArduinoSerial.CommandQueueReadyEventHandler(SerialConnection_CommandQueueReady); HC.WaitForMilliseconds(2000); ReverseMotorDirection(this.Config.Reversed); SetPositionOnFocuser(this.Config.Position); if (this.Config.UseFocuserControlBox) { FocuserControl.Show(); } return(true); }
public bool ConnectFocuser() { SerialConnection = new ArduinoSerial(); SerialConnection.CommandQueueReady += new ArduinoSerial.CommandQueueReadyEventHandler(SerialConnection_CommandQueueReady); HC.WaitForMilliseconds(2000); ReverseMotorDirection(this.Config.Reversed); SetPositionOnFocuser(this.Config.Position); if(this.Config.UseFocuserControlBox) FocuserControl.Show(); return true; }
private bool ConnectDome() { SerialConnection = new ArduinoSerial(); SerialConnection.CommandQueueReady += new ArduinoSerial.CommandQueueReadyEventHandler(SerialConnection_CommandQueueReady); HC.WaitForMilliseconds(2000); return true; }