Function set

Source
pub fn set<A>(pin: &mut A, high: bool) -> Set<'_, A> 
where A: OutputPin + Unpin + ?Sized,
Expand description

Creates a new Set for the provided GPIO pin, that, when polled, will drive it to the specified high or low value.