ruduino/examples/spi.rs

15 lines
220 B
Rust

#![no_std]
#![no_main]
extern crate ruduino;
use ruduino::cores::current;
// Some devices may have multiple SPI modules.
// The ATmega328p only has one.
type Spi = current::Spi;
#[no_mangle]
pub extern fn main() {
}