LcdDisplay.DisplayController (LcdDisplay v0.0.9) 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"})

Link to this function

start_link(initial_display)

View Source

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.