pixtend 0.1.0

Rust library for the PiXtend V2L board
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
extern crate pixtend;

use pixtend::PiXtend;

fn main() {
    let mut pixtend = PiXtend::new().unwrap();
    pixtend.read_write().unwrap();
    println!(
        "Firmware version: {}",
        pixtend.get_firmware_version().unwrap()
    );

    println!(
        "Hardware version: {}",
        pixtend.get_hardware_version().unwrap()
    );
}