Macro arduino_hal::pins

source ·
macro_rules! pins {
    ($p:expr) => { ... };
}
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);