hd44780: allow to configure line length (#3543)

This allows to use 16x4 displays rather than only 20x4.

Signed-off-by: Martin Hierholzer <hier@beta-centauri.de>
This commit is contained in:
Martin Hierholzer
2020-11-20 20:49:38 +01:00
committed by GitHub
parent c6f0884140
commit fcb78e50e5
2 changed files with 19 additions and 8 deletions

View File

@@ -2983,6 +2983,10 @@ lcd_type:
#d7_pin:
# The pins connected to an hd44780 type lcd. These parameters must
# be provided when using an hd44780 display.
#line_length:
# Set the number of characters per line for an hd44780 type lcd.
# Possible values are 20 (default) and 16. The number of lines is
# fixed to 4.
#cs_pin:
#sclk_pin:
#sid_pin: