Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

module not working on macOS Catalina? #94

Open
davidsi opened this issue Jan 7, 2020 · 2 comments
Open

module not working on macOS Catalina? #94

davidsi opened this issue Jan 7, 2020 · 2 comments

Comments

@davidsi
Copy link

davidsi commented Jan 7, 2020

I have a enttec open usb dmx and a ultra dmx micro and I can not get either to work on my MacBook Pro. (Connected via a dongle as the MacBook is all usb C). I modified the simple demo, as below, and neither work. (I comment/uncomment and plug/unplug the correct device pair)

I'm connecting the device(s) to a dmx512 decoder for outputting to led strips. The strips definitely work as I can connect them to power directly. The /dev/usbserial addresses are correct.

Any help appreciated.

const DMX = require('./index');

const dmx = new DMX();

const universe = dmx.addUniverse( 'demo', 'enttec-usb-dmx-pro', '/dev/cu.usbserial-6A009910' );
//const universe = dmx.addUniverse( 'demo', 'enttec-open-usb-dmx', '/dev/cu.usbserial-AL05O8DK' );

let on = false;

setInterval(() => {
if (on) {
on = false;
universe.updateAll(0);
console.log('off');
} else {
on = true;
universe.updateAll(250);
console.log('on');
}
}, 1000);

@gloverab
Copy link

Did you ever get any resolve on this? I believe I'm having the same issue.

@davidsi
Copy link
Author

davidsi commented Aug 20, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants