From f27a9c9ea08d648c823ae616bf8ab1941278eb8a Mon Sep 17 00:00:00 2001 From: Sebastian Wiedenroth Date: Mon, 19 Feb 2018 17:13:07 +0100 Subject: [PATCH] enttec-open-usb-dmx: set rst This finally makes the enttec-open-usb-dmx driver usable! Thanks to @kfstudio for debugging this issue. --- drivers/enttec-open-usb-dmx.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/enttec-open-usb-dmx.js b/drivers/enttec-open-usb-dmx.js index b6508c8..f8dfbb5 100644 --- a/drivers/enttec-open-usb-dmx.js +++ b/drivers/enttec-open-usb-dmx.js @@ -32,9 +32,9 @@ EnttecOpenUsbDMX.prototype.send_universe = function() { } // toggle break - self.dev.set({brk: true}, function(err, r) { + self.dev.set({brk: true, rts: true}, function(err, r) { setTimeout(function() { - self.dev.set({brk: false}, function(err, r) { + self.dev.set({brk: false, rts: true}, function(err, r) { setTimeout(function() { self.dev.write(Buffer.concat([Buffer([0]), self.universe.slice(1)])) }, 1)