xtianbetz / rust-dmx-imx

example controlling DMX RGB lighting with rust on i.MX6

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DMX for i.MX6 using the Rust 'dmx' crate

The code in src/main.rs changes a basic DMX-controlled light between Red, Green, and Blue.

Cross Compiling on Your PC

Install the armv7-unknown-linux-gnueabihf

rustup target add armv7-unknown-linux-gnueabihf

Build for armv7 target

 cargo build --target armv7-unknown-linux-gnueabihf --release

Copy to target

scp target/armv7-unknown-linux-gnueabihf/release/rust-dmx mytarget:/tmp/

About

example controlling DMX RGB lighting with rust on i.MX6


Languages

Language:Rust 100.0%