Toggle Navigation
Hatchery
Eggs
Personal logo
__init__.py
Users
Badges
Login
Register
MCH2022 badge?
go to mch2022.badge.team
__init__.py
raw
Content
import ugfx, badge ugfx.init() ugfx.LUT_FULL ugfx.input_init() ugfx.clear(ugfx.BLACK) ugfx.flush() ugfx.clear(ugfx.WHITE) ugfx.flush() def go_home(pushed): if(pushed): import machine machine.deepsleep(1) ugfx.input_attach(ugfx.BTN_B, go_home) badge.eink_png(0,0,'/lib/personal_logo/logobadge.png') ugfx.flush()