Merge pull request #515 from arahlf/patch-1

Update README.md
This commit is contained in:
Chris Williams 2015-05-07 10:27:54 -04:00
commit cc23c7f3a8

View file

@ -331,6 +331,10 @@ Opens a connection to the given serial port.
Called when a connection has been opened. NOTE: Will NOT be called if openImmediately is set to false as open will not be performed. The callback should be a function that looks like: `function (error) { ... }`
### .isOpen()
Returns `true` if the port is open.
### .write (buffer, callback)
Writes data to the given serial port.