LcdDisplay.CommunicationBus.I2C behaviour (LcdDisplay v0.0.9) View Source

Defines a behaviour required for I²C abstraction.

Link to this section Summary

Link to this section Callbacks

Specs

open(binary()) :: {:ok, reference()} | {:error, any()}
Link to this callback

write(reference, pos_integer, binary)

View Source

Specs

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