From 7713986ae1a349b7270d50191f47a7ffae94ac1b Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Mon, 8 Jun 2020 22:04:24 -0400 Subject: display: Make hd44780 glyphs configurable Allow the 20x4 hd44780 screen glyphs to be customizable from the config file. Signed-off-by: Kevin O'Connor --- config/example-extras.cfg | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'config/example-extras.cfg') diff --git a/config/example-extras.cfg b/config/example-extras.cfg index 46e056ad..976d0081 100644 --- a/config/example-extras.cfg +++ b/config/example-extras.cfg @@ -1913,7 +1913,15 @@ # pixel) where '.' is a blank pixel and '*' is an on pixel (e.g., # "****************" to display a solid horizontal line). Put each # display line into a separate config line. The glyph must consist -# of exactly 16 lines with 16 bits each. +# of exactly 16 lines with 16 bits each. This parameter is optional. +#hd44780_data: +# Glyph to use on 20x4 hd44780 displays. The glyph must consist of +# exactly 8 lines with 5 bits each. This parameter is optional. +#hd44780_slot: +# The hd44780 hardware index (0..7) to store the glyph at. If +# multiple distinct images use the same slot then make sure to only +# use one of those images in any given screen. This parameter is +# required if hd44780_data is specified. # If a primary [display] section has been defined in printer.cfg as shown # above it is possible to define multiple auxilary displays. Note that -- cgit v1.2.3-70-g09d2