LcdDisplay (LcdDisplay v0.0.9) View Source
LcdDisplay is a simple Elixir library that allows you to control an Liquid-crystal display (LCD) like Hitachi HD44780.
Examples
As an example, if you want to control a Hitachi HD44780 type display through
I²C, you can use LcdDisplay.HD44780.I2C
module as a
display driver.
alias LcdDisplay.{DisplaySupervisor, DisplayController, HD44780}
# Start the LCD driver and get the initial display state.
pid = LcdDisplay.start_display(HD44780.I2C, %{display_name: "Display 1"})
# Run a command.
LcdDisplay.execute(pid, {:print, "Hello world"})
LcdDisplay.execute(pid, :clear)
Link to this section Summary
Functions
Executes a supported command that is specified.
Finds or starts a supervised display controller process.
Link to this section Functions
Executes a supported command that is specified.
Finds or starts a supervised display controller process.