From 1cfb2028e4df27f3560459db7c2700edda8d812d Mon Sep 17 00:00:00 2001 From: Yeo Kheng Meng Date: Wed, 26 Oct 2016 23:15:26 +0800 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3d6956b..7343741 100644 --- a/README.md +++ b/README.md @@ -113,7 +113,7 @@ Opening the port without any parameters will set the port to receive and transmi ```swift serialPort.setSettings(receiveRate: .baud9600, transmitRate: .baud9600, minimumBytesToRead: 1) ``` -The port settings call can be as simple as the above. For the baud rate, just supply both transmit and receive even if you are only intend to use one function. For example, transmitRate will be ignored if you specified `andTransmit : false` when opening the port. +The port settings call can be as simple as the above. For the baud rate, just supply both transmit and receive even if you are only intending to use one transfer direction. For example, transmitRate will be ignored if you specified `andTransmit : false` when opening the port. `minimumBytesToRead` determines how many characters Linux must wait to receive before it will return from a [read()](https://linux.die.net/man/2/read) function. If in doubt, just put 1.