예제 #1
0
 private void timer1_Tick(object sender, EventArgs e)
 {
     COMcombo.Items.Clear();
     Uart.PrintPortNames(COMcombo);
     if (!App.Serial.isOpen())
     {
         connectButton.Text = "Connect";
     }
 }
예제 #2
0
        private void Form1_Load(object sender, EventArgs e)
        {
            Uart.PrintPortNames(COMcombo);

            Uart.FillBaudrateBox(baudCombo);
            AT.PrintSpeed(speedCombo);
            AT.PrintDuration(angleCombo);


            // uart.Init();
        }