Commit graph

4 commits

Author SHA1 Message Date
Francis Gulotta
9a98ede77f Remove the serial port factory and throw errors on invalid arguments (#822)
- Constructor now throws errors when given invalid options
 - The Constructor’s callback is given to `.open()` if `openImmediately` is set
 - Depreciation warning when using the old style SerialPort.SerialPort
2016-05-26 11:40:58 -04:00
Francis Gulotta
b9304d5225 Update README on opening ports and cleanup examples (#750) 2016-04-10 11:41:04 -04:00
Donald Ness
d6f82c9072 Fix undefined duration to calls 2013-12-12 18:54:12 -07:00
Donald Ness
0a000298b1 Add example to demonstrate drain() 2013-12-12 14:46:30 -07:00