View Source Wafer.Driver.ElixirALE.GPIO (wafer v1.0.3)
A connection to a native GPIO pin via ElixirALE's GPIO driver.
Implements the Wafer.Conn
behaviour as well as the Wafer.GPIO
protocol.
Summary
Functions
Acquire a connection to the specified GPIO pin using the ElixirALE GPIO driver.
Types
@type option() :: {:pin, non_neg_integer()} | {:direction, Wafer.GPIO.pin_direction()} | {:force, boolean()}
@type options() :: [option()]