mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-08-06 21:44:13 -06:00
display: Add a get_dimensions() method to lcd chip classes
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
cbbc6801a0
commit
a00d7b418f
4 changed files with 7 additions and 5 deletions
|
@ -105,6 +105,8 @@ class HD44780:
|
|||
return 0
|
||||
def clear(self):
|
||||
self.text_framebuffer[:] = ' '*80
|
||||
def get_dimensions(self):
|
||||
return (20, 4)
|
||||
|
||||
HD44780_chars = [
|
||||
# Extruder (a thermometer)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue