-
Notifications
You must be signed in to change notification settings - Fork 154
New component: text LCD #405
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…declared without initialization
…y into comp_new_pcf8574
|
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
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @RREE, thanks for the contribution.
Besides the header this looks good to me.
I guess I can close the other PR for the PCF8574.
| @@ -0,0 +1,39 @@ | |||
| -- | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should use the same license notice header as the LCD_HD44780 packages.
| @@ -0,0 +1,38 @@ | |||
| -- | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's an unreferenced with:
lcd_hd44780-pcf8574.ads:35:09: warning: unit "HAL.I2C" is not referenced
You should run scripts/build_all_examples.py to check your patch.
|
Thank you @RREE ! |
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.