eensy/gpio
Types
pub type Direction {
Input
Output
OutputOd
}
Constructors
-
Input -
Output -
OutputOd
pub type Level {
Low
High
}
Constructors
-
Low -
High
Functions
pub fn set_pin_mode(
pin: Int,
direction: Direction,
) -> Result(Int, Nil)
Set gpio pin direction