pi_info 0.1.3

Library to get info from Raspberry Pi like model or cpu temperture
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
#[cfg(test)]
mod tests {
    #[test]
    fn it_works() {
        assert_eq!(2 + 2, 4);
    }

    #[test]
    fn cpu_temp_test() {
        println!("{}", cpu::cpu_temp());
        assert_eq!(cpu::cpu_temp(), Ok(value));
    }
}