ruduino/examples/spi.rs

15 lines
220 B
Rust
Raw Normal View History

2017-11-17 04:18:35 +00:00
#![no_std]
#![no_main]
extern crate arduino;
use arduino::cores::current;
// Some devices may have multiple SPI modules.
// The ATmega328p only has one.
type Spi = current::Spi;
#[no_mangle]
pub extern fn main() {
}