Crates.io | camctl_rs |
lib.rs | camctl_rs |
version | 0.1.2 |
source | src |
created_at | 2019-07-13 19:40:43.676831 |
updated_at | 2019-07-14 01:51:10.81603 |
description | A Rust rewrite of https://github.com/leaty/camctl |
homepage | |
repository | https://github.com/Dhs92/camctl_rs/tree/master |
max_upload_size | |
id | 148840 |
size | 41,702 |
A Rust rewrite of https://github.com/leaty/camctl
use camctl_rs::Kraken;
let ctx = libusb::Context::new()?;
let kraken = Kraken::from(&ctx)?;
kraken.set_fan(75); // sets the fan speed to 75%