ruduino/examples/spi.rs

15 lines
220 B
Rust
Raw Permalink Normal View History

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