diff --git a/drivers/dmx4all.js b/drivers/dmx4all.js index 8993b84..1ea67d6 100644 --- a/drivers/dmx4all.js +++ b/drivers/dmx4all.js @@ -12,8 +12,8 @@ function DMX4ALL(device_id, options) { this.dev = new SerialPort(device_id, { 'baudRate': 38400, - 'databits': 8, - 'stopbits': 1, + 'dataBits': 8, + 'stopBits': 1, 'parity': 'none' }, function(err) { if(!err) { diff --git a/drivers/dmxking-ultra-dmx-pro.js b/drivers/dmxking-ultra-dmx-pro.js index 3b1ad49..a4e32ef 100644 --- a/drivers/dmxking-ultra-dmx-pro.js +++ b/drivers/dmxking-ultra-dmx-pro.js @@ -16,18 +16,18 @@ function DMXKingUltraDMXPro(device_id, options) { this.options = options || {} this.universe = new Buffer(513) this.universe.fill(0) - + this.sendDMXReq = DMXKING_ULTRA_DMX_PRO_SEND_DMX_RQ if (this.options.port === "A") { this.sendDMXReq = DMXKING_ULTRA_DMX_PRO_SEND_DMX_A_RQ } else if (this.options.port === "B") { this.sendDMXReq = DMXKING_ULTRA_DMX_PRO_SEND_DMX_B_RQ } - + this.dev = new SerialPort(device_id, { 'baudRate': 250000, - 'databits': 8, - 'stopbits': 2, + 'dataBits': 8, + 'stopBits': 2, 'parity': 'none' }, function(err) { if(!err) { diff --git a/drivers/enttec-open-usb-dmx.js b/drivers/enttec-open-usb-dmx.js index f8dfbb5..c2408f3 100644 --- a/drivers/enttec-open-usb-dmx.js +++ b/drivers/enttec-open-usb-dmx.js @@ -13,8 +13,8 @@ function EnttecOpenUsbDMX(device_id, options) { this.dev = new SerialPort(device_id, { 'baudRate': 250000, - 'databits': 8, - 'stopbits': 2, + 'dataBits': 8, + 'stopBits': 2, 'parity': 'none' }, function(err) { if(err) { diff --git a/drivers/enttec-usb-dmx-pro.js b/drivers/enttec-usb-dmx-pro.js index 48ccad6..456c6d5 100644 --- a/drivers/enttec-usb-dmx-pro.js +++ b/drivers/enttec-usb-dmx-pro.js @@ -14,11 +14,11 @@ function EnttecUSBDMXPRO(device_id, options) { options = options || {} this.universe = new Buffer(513) this.universe.fill(0) - + this.dev = new SerialPort(device_id, { 'baudRate': 250000, - 'databits': 8, - 'stopbits': 2, + 'dataBits': 8, + 'stopBits': 2, 'parity': 'none' }, function(err) { if(!err) {