LcdDisplay.GPIO.Behaviour behaviour (lcd_display v0.2.0) View Source

Defines a behaviour required for GPIO abstraction.

Link to this section Summary

Link to this section Types

Link to this section Callbacks

Link to this callback

open(pin_number, pin_direction)

View Source

Specs

open(pin_number(), pin_direction()) :: {:ok, reference()} | {:error, any()}

Specs

write(reference(), value()) :: :ok | {:error, any()}