Home > Back-end >  Why turn serialPort. GetInputStream () direct call
Why turn serialPort. GetInputStream () direct call

Time:11-07

SerialPort relations as follows

RTXPort for implementation class

SerialPort SerialPort=(SerialPort commPort);//SerialPort
//set the serial port parameters (baud rate, data bits, stop bit 1, check digit not)
SerialPort. SetSerialPortParams (parameter. GetBaudRate (), the parameter. The getDataBits (), the parameter. The getStopBits (), the parameter. The getParity ());



SerialPort inside are all abstract methods, why still use it
  • Related