mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-07-13 01:37:55 -06:00
display: Add initial support for LCD screens attached to an MCU
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>
This commit is contained in:
parent
43ac56766e
commit
08a5f8a5ff
10 changed files with 588 additions and 2 deletions
|
@ -32,6 +32,8 @@ class PrinterFan:
|
|||
self.mcu_fan.set_pwm(print_time, value)
|
||||
self.last_fan_time = print_time
|
||||
self.last_fan_value = value
|
||||
def get_status(self, eventtime):
|
||||
return {'speed': self.last_fan_value}
|
||||
|
||||
def load_config(config):
|
||||
return PrinterFan(config)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue