libnspire 0.2.3

high-level bindings to libnspire for USB interaction with TI Nspire calculators
Documentation
1
2
3
4
5
6
7
8
9
10
use std::convert::TryFrom;

fn main() {
    let dev = rusb::open_device_with_vid_pid(0x0451, 0xe012).unwrap();
    let handle = libnspire::Handle::new(dev).unwrap();
    println!(
        "{}",
        serde_json::to_string_pretty(&handle.info().unwrap()).unwrap()
    );
}