From 952b20282209029dc8db5ae8b5763a9e02f58ff0 Mon Sep 17 00:00:00 2001 From: Manuel Kamper Date: Fri, 6 Jan 2023 12:42:52 +0000 Subject: [PATCH] =?UTF-8?q?Dateien=20hochladen=20nach=20=E2=80=9E=E2=80=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Oled.py | 2 +- main.py | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Oled.py b/Oled.py index ab2d8d2..551c855 100644 --- a/Oled.py +++ b/Oled.py @@ -27,7 +27,7 @@ class Oled(framebuf.FrameBuffer): self.init_display() self.white = 0xffff - self.balck = 0x0000 + self.black = 0x0000 def write_cmd(self, cmd): self.cs(1) diff --git a/main.py b/main.py index d1fe3a1..93c2c6d 100644 --- a/main.py +++ b/main.py @@ -428,5 +428,7 @@ try: asyncio.run(Main()) except KeyboardInterrupt: Logger.LogMessage("Shutdown.") + Oled.fill(0x0000) + Oled.show() finally: asyncio.new_event_loop() \ No newline at end of file