Toggle Navigation
Hatchery
Eggs
Working clock
__init__.py
Users
Badges
Login
Register
MCH2022 badge?
go to mch2022.badge.team
__init__.py
raw
Content
import easyrtc import ugfx import badge import ugfx import time import wifi import appglue badge.init() ugfx.init() wifi.init() easyrtc.configure() ugfx.clear(ugfx.WHITE) ugfx.string(0,0,"A working clock","Roboto_BlackItalic24",ugfx.BLACK) t = easyrtc.string() ugfx.box(120, 40, 120, 60, ugfx.BLACK) ugfx.area(120, 40, 120, 60, ugfx.BLACK) ugfx.string(130, 50, t, "PermanentMarker36", ugfx.WHITE) ugfx.flush() time.sleep(20) appglue.home()