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