LcdDisplay.SPI (lcd_display v0.0.21) View Source

Lets you communicate with hardware devices using the I2C protocol. A thin wrapper of elixir-circuits/circuits_spi.

Link to this section Summary

Link to this section Functions

Link to this function

open(spi_bus, opts \\ [])

View Source

Specs

open(binary() | charlist(), list()) :: {:ok, reference()}

Callback implementation for LcdDisplay.SPI.Behaviour.open/2.

Specs

transfer(reference(), binary()) :: {:ok, binary()} | {:error, term()}

Callback implementation for LcdDisplay.SPI.Behaviour.transfer/2.