Macro pins
Source macro_rules! pins {
($p:expr) => { ... };
}
Available on crate feature board-selected only.
Expand description
Convenience macro to instantiate the Pins struct for this board.
ยงExample
let dp = arduino_hal::Peripherals::take().unwrap();
let pins = arduino_hal::pins!(dp);