open_dmx 1.1.1

A wrapper around the serialport library to send DMX data over a serial port
Documentation
1
2
3
4
5
6
7
use open_dmx::DMXSerial;

fn main() {
    let mut dmx = DMXSerial::open("COM3").unwrap();
    dmx.set_channels([255; 512]);
    dmx.set_channel(1, 0).unwrap();
}