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

Defines a behaviour required for GPIO abstraction.

Link to this section Summary

Link to this section Types

Specs

gpio_pin() :: pos_integer()

Link to this section Callbacks

Specs

open(gpio_pin(), :output) :: {:ok, reference()} | {:error, any()}

Specs

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