コード例 #1
0
ファイル: Serial.cs プロジェクト: sramos30/FlingOS
        public Serial(COMPorts port, DataBits dataBits, ParityBits parityBits, StopBits stopBits, BaudRates baudRate, Interrupts interrupts)
        {
            this.port       = port;
            this.dataBits   = dataBits;
            this.parityBits = parityBits;
            this.stopBits   = stopBits;
            this.baudRate   = baudRate;
            this.interrupts = interrupts;

            Init();
        }
コード例 #2
0
ファイル: Serial.cs プロジェクト: sramos30/FlingOS
        public Serial(COMPorts port, DataBits dataBits, ParityBits parityBits, StopBits stopBits, BaudRates baudRate, Interrupts interrupts)
        {
            this.port = port;
            this.dataBits = dataBits;
            this.parityBits = parityBits;
            this.stopBits = stopBits;
            this.baudRate = baudRate;
            this.interrupts = interrupts;

            Init();
        }