enttec-open-usb-dmx: set rst
This finally makes the enttec-open-usb-dmx driver usable! Thanks to @kfstudio for debugging this issue.
This commit is contained in:
parent
bb393fe30c
commit
f27a9c9ea0
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue