Rust wrapper
High-level Rust interface to control the Contour Wall
The Rust wrapper library wrapping the cw-core library, which provides a low-level interface to control the Contour wall. The examples of using rust wrapper is put at the end of the lib.rs file.
let Ok = single_new_from_port
else ;
//slowly faded to white
for i in 0..255
How to run
- Run the demo test of rust wrapper with: cargo test
- test can be run individually with the syntax: cargo test <test_function_name>