import clock_pillow from framebuffer import Framebuffer import time def main(): clock_pillow.mirror = True fb = Framebuffer(device_no=0) while True: img = clock_pillow.draw_clock(pixelformat="RGBA", aliasing=None) fb.show(image=img) time.sleep(0.1) if __name__ == "__main__": main()