Skip to content

Commit

Permalink
Removed boot screen from original project
Browse files Browse the repository at this point in the history
  • Loading branch information
SupremeCake17 authored May 31, 2024
1 parent 4955ffd commit 72fd938
Showing 1 changed file with 2 additions and 44 deletions.
46 changes: 2 additions & 44 deletions klippy/extras/e3v3se_display.py
Original file line number Diff line number Diff line change
Expand Up @@ -484,56 +484,14 @@ def _screen_init(self, eventtime):
def handle_ready(self):
self.reactor.register_timer(
self._reset_screen, self.reactor.monotonic())

self.HMI_ShowBoot()


def _reset_screen(self, eventtime):
self.log("Reset")
self.reactor.register_timer(
self._screen_init, self.reactor.monotonic() + 2.)
return self.reactor.NEVER

def HMI_ShowBoot(self):
self.lcd.clear_screen(self.color_background_black)

self.lcd.draw_string(
False,
self.lcd.font_8x8,
self.color_white,
self.color_background_black,
55,
20,
"Klipper E3V3SE ",
)
self.lcd.draw_string(
False,
self.lcd.font_8x8,
self.color_white,
self.color_background_black,
70,
50,
"display mod",
)
# Todo: QR
self.lcd.draw_string(
False,
self.lcd.font_8x8,
self.color_white,
self.color_background_black,
80,
250,
"Github: ",
)
self.lcd.draw_string(
False,
self.lcd.font_8x8,
self.color_white,
self.color_background_black,
0,
280,
"jpcurti/ender3-v3-se-klipper-with-display",
)


def lcdExit(self):
logging.info("Shutting down the LCD")
self.lcd.set_backlight_brightness(0)
Expand Down

0 comments on commit 72fd938

Please sign in to comment.