Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import graphics,e32,sysinfo,time
- from appuifw import*
- run=1
- def quit():global run;run=0
- app.exit_key_handler=quit
- app.screen = 'full'
- app.body=c=Canvas()
- size=sysinfo.display_pixels()
- im=graphics.Image.new(size)
- while run:
- im.clear(0)
- jam=time.localtime()
- im.text((40,130),u'jam='+str(jam[3])+u':'+str(jam[4])+u':'+str(jam[5]),0x00dd00,(u'',40))
- c.blit(im)
- e32.ao_sleep(0)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement