setParity method

void setParity(
  1. Parity parity
)

Sets the parity.

Implementation

void setParity(Parity parity) {
  _checkStatus();
  _checkError(_nativeSerialSetParity(_serialHandle, parity.index));
}