rust_dmx

Crates.iorust_dmx
lib.rsrust_dmx
version0.6.0
created_at2021-05-07 09:01:12.474694+00
updated_at2025-11-05 08:36:34.906128+00
descriptionControl of DMX-512 lighting control hardware.
homepage
repositoryhttps://github.com/generalelectrix/rust-dmx
max_upload_size
id394174
size34,340
(generalelectrix)

documentation

README

rust-dmx

This library aims to provide a generic trait for a DMX port. It currently supports:

  • Enttec DMX USB Pro (and compatible FTDI-based units such as made by DMXKing).
  • ArtNet
  • an offline placeholder

Usage

Use the available_ports function to get a listing of all available ports. The port must be opened before use.

use rust_dmx::{available_ports, DmxPort};

let port = available_ports()?[0];
port.open()?;
port.write(&[0, 1, 2, 3][..])?;

Ports can be serialized/deserialized, maintaining their identity. They will need to be re-opened after deserialization.

Commit count: 48

cargo fmt