This commit is contained in:
Florin Tobler
2022-07-28 16:40:30 +02:00
parent b44b237e3f
commit 2da27a67fb
2 changed files with 39 additions and 0 deletions

15
main.py Normal file
View File

@@ -0,0 +1,15 @@
import clock_pillow
from framebuffer import Framebuffer
import time
def main():
fb = Framebuffer()
while True:
img = clock_pillow.draw_clock(pixelformat="RGB", aliasing=4)
fb.show(img)
time.sleep(0.1)
if __name__ == "__main__":
main()