setStopBits method

void setStopBits(
  1. StopBits stopbits
)

Sets the number of stopbits.

Implementation

void setStopBits(StopBits stopbits) {
  _checkStatus();
  _checkError(
      _nativeSerialSetStopbits(_serialHandle, stopbits2Int(stopbits)));
}