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); }
/// <summary> /// The constructor. /// </summary> public PowerLed(Leds _leds) { leds = _leds; }