aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/extras/display.py
Commit message (Collapse)AuthorAgeFilesLines
* display: Move klippy/extras/display.py to klippy/extras/display/display.pyKevin O'Connor2018-06-271-704/+0
| | | | | | | Move the display code into its own directory. This is in preparation for splitting it up into its own modules. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* display: add M117 "show message" supportArksine2018-06-271-2/+42
| | | | | | | | | | When M117 is followed by an empty string, the display will reset to Klipper's default. Internal modules may look up the display and directly call set_message(), with a timeout if desired. Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* display: M73 UpdatesArksine2018-06-271-17/+50
| | | | | | | | | - Add M73 support for HD44780 - Include HD44780 USB and SD glyphs to differentiate progress type - Fix bug that prevented M73 from updated when virtual_sd is enabled - Add 5 second timeout to reset display when not Printing Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* lcd_st7920: Use a longer delay at the start of each command/dataKevin O'Connor2018-06-221-4/+6
| | | | | | | | | | | It appears the st7920 requires a longer delay when switching from command to data mode (and vice-versa). Slower MCUs don't show a problem because the klipper command processing time results in a sufficient delay. However, some of the faster MCUs can process klipper commands fast enough that the next st7920 transfer is sent too fast. Add an additional delay to account for this. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* display: Allow the ST7920_DISPLAY parameter to be configuredKevin O'Connor2018-06-211-1/+2
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* Display M73-indicated progress plus linear ETA on ST7920 displays.FeepingCreature2018-05-231-3/+29
| | | | Signed-off-by: Mathis Beer <mathis_beer@yahoo.de>
* display: Round temperature and position to nearest whole numberKevin O'Connor2018-03-191-5/+5
| | | | | | | The "%d" formatting truncates a floating point number - use "%.0f" to show a rounded number. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* display: Remove unneeded semicolons from fileKevin O'Connor2018-03-191-7/+8
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* display: Use separate hd44780 screen drawingKevin O'Connor2018-03-081-48/+151
| | | | | | | | Separate out the hd44780 screen drawing from the st7920 code. Use a layout that takes advantage of the 20 columns. Add custom hd44780 fonts. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* display: Choose arrow character based on displayMarcio Teixeira2018-03-061-1/+3
| | | | | | | Choose the arrow character based on whether the display is ST7920 or HD44780. Signed-off-by: Marcio Teixeira <marcio@alephobjects.com>
* display: Add initial support for LCD screens attached to an MCUKevin O'Connor2018-03-061-0/+496
Add support for displaying basic status information on ST7920 and HD44780 based LCDs that are attached directly to a micro-controller. Signed-off-by: Marcio Teixeira <marcio@alephobjects.com> Signed-off-by: Kevin O'Connor <kevin@koconnor.net>