Skip to content

Commit

Permalink
update readme according to new serialport api
Browse files Browse the repository at this point in the history
  • Loading branch information
MAKIO135 committed Jan 16, 2018
1 parent aa11303 commit d4b79c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -20,7 +20,7 @@ You'll need an USB/Serial converter.
- check the demo sample:

```js
var SerialPort = require('serialport').SerialPort,
var SerialPort = require('serialport'),
serialPort = new SerialPort('/dev/ttyUSB0', {
baudrate: 19200
}),
Expand Down

0 comments on commit d4b79c9

Please sign in to comment.