LcdDisplay.HD44780.GPIO (LcdDisplay v0.0.1) View Source

Knows how to commuticate with HD44780 type display via GPIO pins. Currently supports the 4-bit mode only.

Examples

config = %{
  name: "display 1", # the identifier
  rs: 1,             # the GPIO pin for RS
  en: 2,             # the GPIO pin for EN
  d4: 7,             # the GPIO pin for D4
  d5: 8,             # the GPIO pin for D5
  d6: 9,             # the GPIO pin for D6
  d7: 10,            # the GPIO pin for D7
  rows: 2,           # the number of display rows
  cols: 16,          # the number of display columns
  font_size: "5x8"   # "5x10" or "5x8"
}

HD44780.GPIO.start(config)

Link to this section Summary

Functions

Executes the specified command and returns a new display state.

Initializes the LCD driver and returns the initial display state.

Stops the LCD driver.

Link to this section Functions

Executes the specified command and returns a new display state.

Initializes the LCD driver and returns the initial display state.

Stops the LCD driver.