LcdDisplay.DisplayController (lcd_display v0.0.20) View Source
Wraps a given display driver and controls the display using that driver.
Link to this section Summary
Functions
Returns a specification to start this module under a supervisor.
Delegates the specified operation to the display driver, and updates the state as needed.
Starts a display driver process and registers the process with a composite key of driver module and display name.
Discovers a process by the composite key of driver module atom and display name.
Link to this section Functions
Returns a specification to start this module under a supervisor.
See Supervisor
.
Delegates the specified operation to the display driver, and updates the state as needed.
Examples
DisplayController.execute(pid, {:print, "Hello"})
Specs
start_link(LcdDisplay.HD44780.Driver.t()) :: {:ok, pid()} | {:error, any()}
Starts a display driver process and registers the process with a composite key of driver module and display name.
Specs
Discovers a process by the composite key of driver module atom and display name.