Crates.io | sacn |
lib.rs | sacn |
version | 0.4.4 |
source | src |
created_at | 2015-09-13 13:46:07.562064 |
updated_at | 2018-03-23 19:00:49.827925 |
description | Rust sACN implementation. |
homepage | |
repository | https://github.com/lschmierer/sacn |
max_upload_size | |
id | 3040 |
size | 69,077 |
This is an implementation of the Streaming ACN (ANSI E1.31) network protocol.
Currently only the sending DMX data is implemented.
Parsing of the sACN network packets is allocation free and can work in no_std
environments.
Add to Cargo.toml
:
[dependencies]
sacn = "0.4.4"
Create a DmxSource and start sending DMX data to a universe.
extern crate sacn;
use sacn::DmxSource;
let mut dmx_source = DmxSource::new("Controller").unwrap();
dmx_source.send(1, &[0, 1, 2]);
// ...
// terminate the stream for a specific universe
dmx_source.terminate_stream(1);
Licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.