Skip to content

fedejaure/ansible-role-rpi-lcd

Repository files navigation

Ansible Role: Raspberry Pi LCD

GitHub release (latest SemVer) Ansible Role tests License

Ansible Role Ansible Quality Score pre-commit Contributor Covenant

Configures the LCD driver of Raspberry Pi.

This role was built for learning purposes on ansible (use by your on risk).

Supported LCD's type, so far:

  • 3.5inch RPi Display (MPI3501)

Requirements

None.

Role Variables

Available variables are listed below, along with default values (see defaults/main.yml):

lcd_type: MPI3501

Select the LCD type to be configured.

lcd_rotate: 90

Set the LCD screen rotation. It depends on LCD type:

  • 3.5inch RPi Display (MPI3501):
    • 0
    • 90
    • 180
    • 270

Dependencies

None.

Example Playbook

- hosts: pi

  vars:
    lcd_type: MPI3501
    lcd_rotate: 90

  roles:
     - fedejaure.rpi_lcd

License

MIT / BSD

Author Information

This role was created in 2020 by Federico Jaureguialzo.

Credits

For a detail configuring information see LCD-show.