rpi_embedded 0.1.0

Interface for the Raspberry Pi's GPIO, I2C, PWM, SPI and UART peripherals. Forked from RPPAL
Documentation
1
2
3
4
5
6
7
8
9
10
use rpi_embedded::gpio::{Gpio};
// this example is a demo that shows how much of the processor is taken if code is malused
// took about 96% of my processor when running it,

fn main(){
    let mut pin = Gpio::output(21).unwrap();
    loop{
        pin.toggle();
    }
}