yes.
This commit is contained in:
parent
95e0709e16
commit
1849fa6da6
1 changed files with 5 additions and 5 deletions
10
main.py
10
main.py
|
@ -220,11 +220,11 @@ def main():
|
|||
|
||||
def drawClock():
|
||||
while True:
|
||||
time.sleep(0.4)
|
||||
canvas = Image.new('RGB', (64,128), color = 'black')
|
||||
clock_text = ImageDraw.Draw(canvas)
|
||||
clock_text.text((20,0), datetime.now(), font = clock_font, align = center)
|
||||
showImage(canvas, 32, 0)
|
||||
time.sleep(0.4)
|
||||
canvas = Image.new('RGB', (64,128), color = 'black')
|
||||
clock_text = ImageDraw.Draw(canvas)
|
||||
clock_text.text((20,0), datetime.now(), font = clock_font, align = center)
|
||||
showImage(canvas, 32, 0)
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue