# Gambas Form File 2.0

{ Form Form
  MoveScaled(70,26.5714,51.5714,59.8571)
  Text = ("Serial Port")
  { TextLabel1 TextLabel
    MoveScaled(1,2,21,3)
    Text = ("Port Name :")
  }
  { TxtPort TextBox
    MoveScaled(23,2,15,3)
    Text = ("/dev/ttyS0")
  }
  { TextLabel2 TextLabel
    MoveScaled(1,6,21,3)
    Text = ("Speed :")
  }
  { CmbSpeed ComboBox
    MoveScaled(23,6,15,3)
    Text = ("")
    ReadOnly = True
    List = [("1200"), ("2400"), ("9600"), ("19200"), ("38400")]
  }
  { TextLabel3 TextLabel
    MoveScaled(1,10,21,3)
    Text = ("Parity :")
  }
  { TextLabel4 TextLabel
    MoveScaled(1,14,21,3)
    Text = ("Data Bits :")
  }
  { TextLabel5 TextLabel
    MoveScaled(1,18,21,3)
    Text = ("Stop Bits :")
  }
  { CmbParity ComboBox
    MoveScaled(23,10,15,3)
    Text = ("")
    ReadOnly = True
    List = [("None"), ("Even"), ("Odd")]
  }
  { CmbData ComboBox
    MoveScaled(23,14,15,3)
    Text = ("")
    ReadOnly = True
    List = [("8"), ("7"), ("6"), ("5")]
  }
  { CmbStop ComboBox
    MoveScaled(23,18,15,3)
    Text = ("")
    ReadOnly = True
    List = [("1"), ("2")]
  }
  { Button1 Button
    MoveScaled(23,22,15,3)
    Text = ("Open")
  }
  { TxtSend TextBox
    MoveScaled(1,38,43,3)
    Text = ("")
  }
  { TextLabel6 TextLabel
    MoveScaled(1,34,50,3)
    Foreground = &H030303&
    Text = ("Write data then press \"CR\"")
    Alignment = Align.Center
  }
  { Button2 Button
    MoveScaled(45,38,6,3)
    Text = ("CR")
  }
  { TextArea1 TextArea
    MoveScaled(1,42,50,17)
    Text = ("")
  }
  { ChkDSR CheckBox
    MoveScaled(39,14,11,3)
    Text = ("DSR")
  }
  { ChkDTR CheckBox
    MoveScaled(39,2,11,3)
    Text = ("DTR")
  }
  { ChkRTS CheckBox
    MoveScaled(39,5,11,3)
    Text = ("RTS")
  }
  { ChkCTS CheckBox
    MoveScaled(39,8,11,3)
    Text = ("CTS")
  }
  { ChkDCD CheckBox
    MoveScaled(39,11,11,3)
    Text = ("DCD")
  }
  { ChkRNG CheckBox
    MoveScaled(39,17,11,3)
    Text = ("RNG")
  }
  { Label1 Label
    MoveScaled(1,27,15,3)
    Text = ("Flow control :")
  }
  { ComboBox1 ComboBox
    MoveScaled(18,27,20,3)
    Text = (" ")
    ReadOnly = True
    List = [("NONE"), ("CRTSCTS"), ("XON/XOFF"), ("CRTSCTS + XON/XOFF")]
  }
  { SPort #SerialPort
    #X = 301
    #Y = 182
  }
}
