You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
326 B
16 lines
326 B
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()
|