fivetwelve-driver-usbpro
v1.0.2
Published
Driver to use the fivetwelve-library with an enttec usbpro mk2 professional dmx-interface.
Downloads
23
Readme
fivetwelve driver for ENTTEC USB PRO mk2
This is a fivetwelve driver for the USB PRO mk2 DMX-interface made by enttec.
installation
npm install --save fivetwelve-driver-usbpro
usage example
import fivetwelve from 'fivetwelve';
import Serialport from 'serialport';
// You need to somehow find the path of the interface (best done via
// `Serialport.list()` and finding the right device)
const usbproSerialport = new Serialport('/dev/cu.usbserial-ENXXXXXX');
// configure the fivetwelve-output for both universes:
const output = fivetwelve(new EnttecUsbProMk2Driver(usbproSerialport), 2);
For more information see the fivetwelve main-documentation.
Compatibility
It is difficult to get our hands on different dmx-interfaces to test for compatibility, but as the binary protocol implemented by tge enttec usbpro has been used by other vendors as well, this module could be compatible (or could be made compatible easily).
Contributing
PRs welcome! Please feel free to open an issue if you have any questions, problems or even if you just want to chat about this.