public void Initialize(uint baudrate) { _serialDevice.Initialize(baudrate); _directionPin.SetDriveMode(GpioPinDriveMode.Output); _directionPin.Write(_rxDirectionPinValue); }