AdaCore / Ada_Drivers_Library

Ada source code and complete sample GNAT projects for selected bare-board platforms supported by GNAT.
BSD 3-Clause "New" or "Revised" License
241 stars 142 forks source link

New component: text LCD #405

Closed RREE closed 2 years ago

RREE commented 2 years ago

This patch add simple text based LCDs based on the HD44780 driver. Almost all text LCD use this or a compatible driver module.

This first version uses a PCF8574 I/O expander via I²C. I can also add a 4bit implementation, but that requires 7 or 8 GPIOs of the controller. That's why I don't use it anymore.

As a prerequisite this patch requires the merge of the aforementioned PCF8574 pull request.

RREE commented 2 years ago

I created the branch in my copy of the ADL off the branch for the pcf8574. It seems that this pull request contains both the pcf8574 and the new LCD code

Fabien-Chouteau commented 2 years ago

Thank you @RREE !