Dateien hochladen nach „“

This commit is contained in:
Manuel Kamper 2023-01-06 12:42:52 +00:00
parent 6d17964471
commit 952b202822
2 changed files with 3 additions and 1 deletions

View File

@ -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)

View File

@ -428,5 +428,7 @@ try:
asyncio.run(Main())
except KeyboardInterrupt:
Logger.LogMessage("Shutdown.")
Oled.fill(0x0000)
Oled.show()
finally:
asyncio.new_event_loop()