StreamCommand.java 文件源码

java
阅读 65 收藏 0 点赞 0 评论 0

项目:jaer 作者:
/**
   * set the baud rate used for communication; if the connection is
   * already established, the baud rate will be changed on the fly
   *
   * @param baudRate the new baud rate
   * @throws UnsupportedCommOperationException
   */
  public void setBaudRate(int baudRate) throws UnsupportedCommOperationException
  {
      this.baudRate= baudRate;
      if (isConnected()) {
    port.setSerialPortParams(
                  baudRate,
                  dataBits,
                  stopBits,
                  paritiyFlags);
}
  }
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号