private void timer1_Tick(object sender, EventArgs e) { COMcombo.Items.Clear(); Uart.PrintPortNames(COMcombo); if (!App.Serial.isOpen()) { connectButton.Text = "Connect"; } }
private void Form1_Load(object sender, EventArgs e) { Uart.PrintPortNames(COMcombo); Uart.FillBaudrateBox(baudCombo); AT.PrintSpeed(speedCombo); AT.PrintDuration(angleCombo); // uart.Init(); }