aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/extras/display/display.cfg
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2020-06-08 22:04:24 -0400
committerKevin O'Connor <kevin@koconnor.net>2020-06-09 08:09:59 -0400
commit7713986ae1a349b7270d50191f47a7ffae94ac1b (patch)
tree275168244b5d536881b7a75038eb53aa0fe6f2f3 /klippy/extras/display/display.cfg
parent1a7e4e51b32bb4eead6eab111293ced012871414 (diff)
downloadkutter-7713986ae1a349b7270d50191f47a7ffae94ac1b.tar.gz
kutter-7713986ae1a349b7270d50191f47a7ffae94ac1b.tar.xz
kutter-7713986ae1a349b7270d50191f47a7ffae94ac1b.zip
display: Make hd44780 glyphs configurable
Allow the 20x4 hd44780 screen glyphs to be customizable from the config file. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/extras/display/display.cfg')
-rw-r--r--klippy/extras/display/display.cfg134
1 files changed, 128 insertions, 6 deletions
diff --git a/klippy/extras/display/display.cfg b/klippy/extras/display/display.cfg
index 1e9d152e..cddc9476 100644
--- a/klippy/extras/display/display.cfg
+++ b/klippy/extras/display/display.cfg
@@ -188,7 +188,7 @@ text: { render("_print_status") }
######################################################################
-# Default display glyphs
+# Default 16x4 glyphs
######################################################################
[display_glyph extruder]
@@ -327,8 +327,130 @@ data:
# In addition to the above glyphs, 16x4 displays also have the
# following hard-coded single character glyphs: right_arrow, degrees.
-# The 20x4 displays do not have configurable glyphs. They do have
-# hard-coded support for the following single character glyphs:
-# right_arrow, degrees, extruder, bed, bed_heat1 (same as bed),
-# bed_heat2 (same as bed), feedrate, clock, usb, sd, fan1, fan2 (same
-# as fan1).
+
+######################################################################
+# Default 20x4 glyphs
+######################################################################
+
+[display_glyph extruder]
+hd44780_slot: 0
+hd44780_data:
+ ..*..
+ .*.*.
+ .*.*.
+ .*.*.
+ .*.*.
+ *...*
+ *...*
+ .***.
+
+[display_glyph bed]
+hd44780_slot: 1
+hd44780_data:
+ .....
+ *****
+ *.*.*
+ *...*
+ *.*.*
+ *****
+ .....
+ .....
+
+[display_glyph bed_heat1]
+hd44780_slot: 1
+hd44780_data:
+ .....
+ *****
+ *.*.*
+ *...*
+ *.*.*
+ *****
+ .....
+ .....
+
+[display_glyph bed_heat2]
+hd44780_slot: 1
+hd44780_data:
+ .....
+ *****
+ *.*.*
+ *...*
+ *.*.*
+ *****
+ .....
+ .....
+
+[display_glyph fan]
+hd44780_slot: 2
+hd44780_data:
+ .....
+ *..**
+ **.*.
+ ..*..
+ .*.**
+ **..*
+ .....
+ .....
+
+[display_glyph feedrate]
+hd44780_slot: 3
+hd44780_data:
+ ***..
+ *....
+ **...
+ *.***
+ ..*.*
+ ..**.
+ ..*.*
+ .....
+
+[display_glyph clock]
+hd44780_slot: 4
+hd44780_data:
+ .....
+ .***.
+ *..**
+ *.*.*
+ *...*
+ .***.
+ .....
+ .....
+
+[display_glyph degrees]
+hd44780_slot: 5
+hd44780_data:
+ .**..
+ *..*.
+ *..*.
+ .**..
+ .....
+ .....
+ .....
+ .....
+
+[display_glyph usb]
+hd44780_slot: 6
+hd44780_data:
+ .***.
+ .***.
+ .***.
+ *****
+ *****
+ *****
+ ..*..
+ ..*..
+
+[display_glyph sd]
+hd44780_slot: 6
+hd44780_data:
+ .....
+ ..***
+ .****
+ *****
+ *****
+ *****
+ *****
+ .....
+
+# In addition to the above glyphs, 20x4 displays also have the
+# following hard-coded glyphs: right_arrow.