Beispiel #1
0
        public Robot()
        {
            com_port              = new SerialPort();
            com_port.ReadTimeout  = 1000;
            com_port.WriteTimeout = 1000;
            com_port.BaudRate     = 56700;
            com_port.DataBits     = 8;
            com_port.Parity       = Parity.None;
            com_port.StopBits     = StopBits.One;

            SCI     = new SCI.SCI(this);
            Leds    = new Leds(this);
            Sensors = new Sensors(this);
        }
Beispiel #2
0
        public Robot()
        {
            com_port = new SerialPort();
            com_port.ReadTimeout = 1000;
            com_port.WriteTimeout = 1000;
            com_port.BaudRate = 56700;
            com_port.DataBits = 8;
            com_port.Parity = Parity.None;
            com_port.StopBits = StopBits.One;

            SCI = new SCI.SCI(this);
            Leds = new Leds(this);
            Sensors = new Sensors(this);
        }