Expand description
Rust bindings for the Enttec Open DMX USB and its FTDI D2XX Chip.
#Usage
Simply add this crate as a dependency in your Cargo.toml
.
[dependencies]
enttecopendmx = "0.1.0"
Further the corresponding driver for the Interface needs to be installed on the system. For further informations check the information’s provided by Enttec and the documentation for the libftd2xx crate this one is based on.
The most stripped down way to generate an output signal is to just send the maximum value 255
on Channel one:
use enttecopendmx;
let mut interface = enttecopendmx::EnttecOpenDMX::new();
interface.open();
interface.set_channel(1 as usize, 255 as u8);
interface.render();
Structs§
- Enttec
OpenDMX - This struct represents an Enttec Open DMX Interface. To create a new instance use the
new()
method or construct it “by hand”.