master
Lukas Schulz 2020-12-20 21:32:06 +01:00
parent 8cad8faae1
commit e012737475
1 changed files with 1 additions and 1 deletions

View File

@ -220,7 +220,7 @@ def main():
def drawClock(): def drawClock():
while True: while True:
#time.sleep(0.4) time.sleep(0.6)
canvas = Image.new('RGB', (128,64), color = 'black') canvas = Image.new('RGB', (128,64), color = 'black')
clock_text = ImageDraw.Draw(canvas) clock_text = ImageDraw.Draw(canvas)
clock_text.text((0,20), datetime.now().strftime("%H:%M:%S"), font = clock_font, align = "center") clock_text.text((0,20), datetime.now().strftime("%H:%M:%S"), font = clock_font, align = "center")