Exemple #1
0
 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);
 }
Exemple #2
0
 public void Halt()
 {
     SerialConnection.SendCommand(ArduinoSerial.SerialCommand.Halt);
 }
Exemple #3
0
        //
        // PUBLIC COM INTERFACE IDome IMPLEMENTATION
        //

        #region IDome Members

        public void AbortSlew()
        {
            SerialConnection.SendCommand(ArduinoSerial.SerialCommand.Abort);
        }