bump node-serialport version
This commit is contained in:
parent
0cc2b6b1f4
commit
acffa57e62
3 changed files with 5 additions and 5 deletions
|
@ -1,6 +1,6 @@
|
||||||
"use strict"
|
"use strict"
|
||||||
|
|
||||||
var SerialPort = require("serialport").SerialPort
|
var SerialPort = require("serialport")
|
||||||
|
|
||||||
function EnttecOpenUsbDMX(device_id, options) {
|
function EnttecOpenUsbDMX(device_id, options) {
|
||||||
var self = this
|
var self = this
|
||||||
|
@ -16,7 +16,7 @@ function EnttecOpenUsbDMX(device_id, options) {
|
||||||
'databits': 8,
|
'databits': 8,
|
||||||
'stopbits': 2,
|
'stopbits': 2,
|
||||||
'parity': 'none'
|
'parity': 'none'
|
||||||
}, true, function(err) {
|
}, function(err) {
|
||||||
if(err) {
|
if(err) {
|
||||||
console.log(err)
|
console.log(err)
|
||||||
return
|
return
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"use strict"
|
"use strict"
|
||||||
|
|
||||||
var SerialPort = require("serialport").SerialPort
|
var SerialPort = require("serialport")
|
||||||
|
|
||||||
var ENTTEC_PRO_DMX_STARTCODE = 0x00
|
var ENTTEC_PRO_DMX_STARTCODE = 0x00
|
||||||
, ENTTEC_PRO_START_OF_MSG = 0x7e
|
, ENTTEC_PRO_START_OF_MSG = 0x7e
|
||||||
|
@ -20,7 +20,7 @@ function EnttecUSBDMXPRO(device_id, options) {
|
||||||
'databits': 8,
|
'databits': 8,
|
||||||
'stopbits': 2,
|
'stopbits': 2,
|
||||||
'parity': 'none'
|
'parity': 'none'
|
||||||
}, true, function(err) {
|
}, function(err) {
|
||||||
if(!err) {
|
if(!err) {
|
||||||
self.send_universe()
|
self.send_universe()
|
||||||
}
|
}
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
"light control"
|
"light control"
|
||||||
],
|
],
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"serialport": "2.1.x",
|
"serialport": "4.0.x",
|
||||||
"socket.io": "0.9.x",
|
"socket.io": "0.9.x",
|
||||||
"connect": "2.11.x",
|
"connect": "2.11.x",
|
||||||
"express": "3.4.x",
|
"express": "3.4.x",
|
||||||
|
|
Loading…
Reference in a new issue