Toggle Navigation
Hatchery
Eggs
MULTI PASS
__init__.py
Users
Badges
Login
Register
MCH2022 badge?
go to mch2022.badge.team
__init__.py
raw
Content
import ugfx, badge, deepsleep ############ ## Config ## ############ name = badge.nvs_get_str("owner","name", "Hacker1337") upic1 = "4043726f6d" upic2 = "756c6f6e42" ############ ############ ugfx.init() ugfx.clear(ugfx.BLACK) ugfx.flush() ugfx.clear(ugfx.WHITE) ugfx.flush() ugfx.set_lut(ugfx.LUT_FULL) ugfx.string(162, 4, name, "Roboto_Black22", ugfx.BLACK) ugfx.string(9, 117, upic1, "Roboto_pixelade13", ugfx.BLACK) ugfx.string(86, 117, upic2, "Roboto_pixelade13", ugfx.BLACK) ugfx.area(150, 30, 300, 52, ugfx.BLACK) ugfx.string(165, 35, "DEFCON 27", "Roboto_pixelade13", ugfx.WHITE) ugfx.string(165, 45, "Near the Bar", "Roboto_pixelade13", ugfx.WHITE) ugfx.string(165, 55, "Paris, Ballys, PH", "Roboto_pixelade13", ugfx.WHITE) ugfx.string(165, 65, "Las Vegas, NV", "Roboto_pixelade13", ugfx.WHITE) ugfx.string(165, 85, "@CromulonB", "Roboto_pixelade13", ugfx.BLACK) ugfx.string(165, 95, "hac.io/o/164625", "Roboto_pixelade13", ugfx.BLACK) ugfx.string(165, 105, "Aug 8-11, 2019", "Roboto_pixelade13", ugfx.BLACK) badge.eink_png(0, 0, '/lib/multi_pass/hackerman.png') ugfx.flush(0xff) badge.eink_busy_wait() deepsleep.start_sleeping(60000)