Merge pull request #44 from kfstudio/enttec_config

Resolve serialport config issues, part of issue #24
This commit is contained in:
Frédéric Bolvin 2018-02-19 13:09:03 +01:00 committed by GitHub
commit 038b84510b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 11 additions and 11 deletions

View file

@ -12,8 +12,8 @@ function DMX4ALL(device_id, options) {
this.dev = new SerialPort(device_id, { this.dev = new SerialPort(device_id, {
'baudRate': 38400, 'baudRate': 38400,
'databits': 8, 'dataBits': 8,
'stopbits': 1, 'stopBits': 1,
'parity': 'none' 'parity': 'none'
}, function(err) { }, function(err) {
if(!err) { if(!err) {

View file

@ -26,8 +26,8 @@ function DMXKingUltraDMXPro(device_id, options) {
this.dev = new SerialPort(device_id, { this.dev = new SerialPort(device_id, {
'baudRate': 250000, 'baudRate': 250000,
'databits': 8, 'dataBits': 8,
'stopbits': 2, 'stopBits': 2,
'parity': 'none' 'parity': 'none'
}, function(err) { }, function(err) {
if(!err) { if(!err) {

View file

@ -13,8 +13,8 @@ function EnttecOpenUsbDMX(device_id, options) {
this.dev = new SerialPort(device_id, { this.dev = new SerialPort(device_id, {
'baudRate': 250000, 'baudRate': 250000,
'databits': 8, 'dataBits': 8,
'stopbits': 2, 'stopBits': 2,
'parity': 'none' 'parity': 'none'
}, function(err) { }, function(err) {
if(err) { if(err) {

View file

@ -17,8 +17,8 @@ function EnttecUSBDMXPRO(device_id, options) {
this.dev = new SerialPort(device_id, { this.dev = new SerialPort(device_id, {
'baudRate': 250000, 'baudRate': 250000,
'databits': 8, 'dataBits': 8,
'stopbits': 2, 'stopBits': 2,
'parity': 'none' 'parity': 'none'
}, function(err) { }, function(err) {
if(!err) { if(!err) {